diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_module.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index f1ca0b7cc1..1171e3bc84 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -836,7 +836,7 @@ class TestModule < Test::Unit::TestCase end def test_attr - assert_in_out_err([], <<-INPUT, %w(:ok nil), /warning: private attribute\?$/) + assert_in_out_err([], <<-INPUT, %w(nil)) $VERBOSE = true c = Class.new c.instance_eval do @@ -844,7 +844,6 @@ class TestModule < Test::Unit::TestCase attr_reader :foo end o = c.new - o.foo rescue p(:ok) p(o.instance_eval { foo }) INPUT |