summaryrefslogtreecommitdiff
path: root/test/ostruct/test_ostruct.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-08 07:07:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-08 07:07:59 +0000
commit759a31b4a3fbacb5a8528a3875c7f2395a2f9187 (patch)
tree87dd298b365680b3d807cbb2675157d619adcc5f /test/ostruct/test_ostruct.rb
parenta8565ad2201d094efc4b92c4c4b77ea77b7e10d0 (diff)
Revert GH-808
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ostruct/test_ostruct.rb')
-rw-r--r--test/ostruct/test_ostruct.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb
index 2c0da2a419..14bc2b2da8 100644
--- a/test/ostruct/test_ostruct.rb
+++ b/test/ostruct/test_ostruct.rb
@@ -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