Skip to content

Commit 8eaab04

Browse files
committed
fix: add more test cases
1 parent 34de823 commit 8eaab04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_value_converter_factory.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,10 @@ def test_time
269269
).create_converter
270270
assert_equal nil, converter.call(nil)
271271
assert_equal "00:03:22.000000", converter.call("00:03:22")
272+
assert_equal "15:22:00.000000", converter.call("3:22 PM")
273+
assert_equal "03:22:00.000000", converter.call("3:22 AM")
274+
assert_equal "15:22:00.000000", converter.call("15:22")
275+
assert_equal "10:00:00.000000", converter.call("2024-07-24 10:00")
272276
end
273277

274278
def test_record

0 commit comments

Comments
 (0)