summaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_struct.rb
blob: a65964d5f9bd92fba5f789f6c2cae726bc4fbb52 (plain)
1
2
3
4
5
assert_equal 'Struct::Foo', %q{
  Struct.instance_eval { const_set(:Foo, nil) }
  Struct.new("Foo")
  Struct::Foo
}