test/unit/schemacop/v3/string_node_test.rb in schemacop-3.0.15 vs test/unit/schemacop/v3/string_node_test.rb in schemacop-3.0.16
- old
+ new
@@ -261,9 +261,13 @@
assert_cast nil, nil
assert_cast '1,-2,3', [1, -2, 3]
assert_cast '1', [1]
assert_cast '-1', [-1]
+ assert_cast '08', [8]
+ assert_cast '09', [9]
+ assert_cast '050', [50]
+ assert_cast '01,032', [1, 32]
end
def test_format_custom
Schemacop.register_string_formatter(
:integer_tuple_list,