From 9194b220a59435a5a16d62a3ccc93b5adc784cd1 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 5 Mar 2014 13:27:22 +0000 Subject: * test/ruby: get rid of warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_module.rb') diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 02739dd520..b5e128ba3c 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -1258,7 +1258,7 @@ class TestModule < Test::Unit::TestCase c = Class.new do attr_writer :foo end - assert_raise(ArgumentError) { c.new.send :foo= } + assert_raise(ArgumentError, bug8540) { c.new.send :foo= } end def test_private_constant -- cgit v1.2.3