diff options
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_object.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb index 5c6824e8a5..b05375ebba 100644 --- a/test/ruby/test_object.rb +++ b/test/ruby/test_object.rb @@ -438,6 +438,10 @@ class TestObject < Test::Unit::TestCase end def test_send_with_block + x = :ng + 1.send(:times) { x = :ok } + assert_equal(:ok, x) + x = :ok o = Object.new def o.inspect |
