diff options
author | Koichi Sasada <[email protected]> | 2021-09-30 17:30:04 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2021-10-21 16:17:39 +0900 |
commit | 7185c00fcc330db8951b684f548ba3d10983bb92 (patch) | |
tree | 467a4658894283a0bae5c0bdfc9b39be7d9796e4 /test | |
parent | c7550537f11dcf6450a9d3df3af3fa1f4fe05b15 (diff) |
freeze (make shareable) script_lines
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4913
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_rubyvm.rb | 1 |
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 |