diff options
Diffstat (limited to 'test/ruby/test_call.rb')
-rw-r--r-- | test/ruby/test_call.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ruby/test_call.rb b/test/ruby/test_call.rb index d30890d6a1..12793a7572 100644 --- a/test/ruby/test_call.rb +++ b/test/ruby/test_call.rb @@ -46,13 +46,9 @@ class TestCall < Test::Unit::TestCase assert_equal(5, o.y) o.?z ||= 6 assert_equal(6, o.z) - assert_equal(42, o.?[:x]) - assert_equal(42, o.?["x"]) o = nil assert_nil(o.?x) - assert_nil(o.?[:x]) - assert_nil(o.?["x"]) assert_nothing_raised(NoMethodError) {o.?x = 6} assert_nothing_raised(NoMethodError) {o.?x *= 7} end |