diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-05 13:27:22 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-05 13:27:22 +0000 |
commit | 9194b220a59435a5a16d62a3ccc93b5adc784cd1 (patch) | |
tree | 654b01c15ba23e9a43ee9cc7bce65d24c54613e2 /test/ruby/test_module.rb | |
parent | 01740f0c273c89f7bcff3d5014d73c8ff6fb1986 (diff) | |
download | ruby-9194b220a59435a5a16d62a3ccc93b5adc784cd1.tar.gz |
* test/ruby: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r-- | test/ruby/test_module.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |