diff options
-rw-r--r-- | test/ruby/test_data.rb | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -62,6 +62,7 @@ class TestData < Test::Unit::TestCase assert_equal(1, test.foo) assert_equal(2, test.bar) assert_equal(test, klass.new(1, 2)) # Keywords test_kw = klass.new(foo: 1, bar: 2) @@ -169,4 +170,11 @@ class TestData < Test::Unit::TestCase assert_equal([], test.members) assert_equal({}, test.to_h) end end |