mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bootstraptest/test_struct.rb: some test moved from test to shut
warning up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
92f510a9d9
commit
1319ad22d8
3 changed files with 8 additions and 1 deletions
5
bootstraptest/test_struct.rb
Normal file
5
bootstraptest/test_struct.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
assert_equal 'Struct::Foo', %q{
|
||||
Struct.instance_eval { const_set(:Foo, nil) }
|
||||
Struct.new("Foo")
|
||||
Struct::Foo
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue