1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert GH-808

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-01-08 07:07:59 +00:00
parent a8565ad220
commit 759a31b4a3
3 changed files with 12 additions and 25 deletions

View file

@ -135,10 +135,4 @@ class TC_OpenStruct < Test::Unit::TestCase
e = assert_raise(ArgumentError) { os.send :foo=, true, true }
assert_match(/#{__callee__}/, e.backtrace[0])
end
def test_modifiable
os = OpenStruct.new(modifiable: true)
assert_equal true, os.modifiable
assert_nothing_raised { os.foo = true }
end
end