* test/ruby: get rid of warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2014-03-05 13:27:22 +00:00
parent 01740f0c27
commit 9194b220a5
13 changed files with 20 additions and 23 deletions

View file

@ -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