diff options
Diffstat (limited to 'trunk/bootstraptest/test_struct.rb')
-rw-r--r-- | trunk/bootstraptest/test_struct.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/trunk/bootstraptest/test_struct.rb b/trunk/bootstraptest/test_struct.rb new file mode 100644 index 0000000000..a65964d5f9 --- /dev/null +++ b/trunk/bootstraptest/test_struct.rb @@ -0,0 +1,5 @@ +assert_equal 'Struct::Foo', %q{ + Struct.instance_eval { const_set(:Foo, nil) } + Struct.new("Foo") + Struct::Foo +} |