summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_rubyvm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_rubyvm.rb b/test/ruby/test_rubyvm.rb
index fecaacfa78..a6d0b1a727 100644
--- a/test/ruby/test_rubyvm.rb
+++ b/test/ruby/test_rubyvm.rb
@@ -49,6 +49,7 @@ class TestRubyVM < Test::Unit::TestCase
iseq.each_child{|child|
assert_equal lines, child.script_lines
}
+ assert lines.frozen?
# don't keep
RubyVM.keep_script_lines = false