RUBY_ISEQ_DUMP_DEBUG=to_binary never kept the debug information for String literals
* That is, for plain string literals, not interpolated. * The test below is very similar and uses the same check.
This commit is contained in:
parent
9d8eeccf06
commit
9e813c1fc4
@ -194,7 +194,7 @@ class TestRubyLiteral < Test::Unit::TestCase
|
||||
assert_predicate(str, :frozen?)
|
||||
assert_raise_with_message(FrozenError, /created at #{Regexp.quote(f)}:#{n}/) {
|
||||
str << "x"
|
||||
}
|
||||
} unless ENV['RUBY_ISEQ_DUMP_DEBUG']
|
||||
end
|
||||
|
||||
def test_debug_frozen_string_in_array_literal
|
||||
|
Loading…
x
Reference in New Issue
Block a user