summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-13 16:40:33 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-13 16:40:33 +0000
commit4a400007665848d066cb70571287803ec4a7440e (patch)
treebbe3edab181fce7ef4219a096e16786d59ad2523 /test/ruby
parent2b8bbd765eafe421bbbc9012968d6e0b2ad5efaa (diff)
downloadruby-4a400007665848d066cb70571287803ec4a7440e.tar.gz
ruby-4a400007665848d066cb70571287803ec4a7440e.tar.xz
ruby-4a400007665848d066cb70571287803ec4a7440e.zip
* bootstraptest/test_struct.rb: some test moved from test to shut
warning up. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_struct.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_struct.rb b/test/ruby/test_struct.rb
index 270d53747..cbb0c1405 100644
--- a/test/ruby/test_struct.rb
+++ b/test/ruby/test_struct.rb
@@ -91,7 +91,6 @@ class TestStruct < Test::Unit::TestCase
end
def test_struct_new
- Struct.instance_eval { const_set(:Foo, nil) }
assert_raise(NameError) { Struct.new("foo") }
assert_nothing_raised { Struct.new("Foo") }
Struct.instance_eval { remove_const(:Foo) }