summaryrefslogtreecommitdiff
path: root/test/ruby/test_shapes.rb
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_shapes.rb26
1 files changed, 26 insertions, 0 deletions
@@ -184,6 +184,32 @@ class TestShapes < Test::Unit::TestCase
assert_empty obj.instance_variables
end
def test_use_all_shapes_then_freeze
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
begin;