Revert "skip on RUBY_ISEQ_DUMP_DEBUG=to_binary"
This reverts commit 889bbbaf527372c5cc229b56dca9a2322e325f26.
This commit is contained in:
parent
889bbbaf52
commit
9d8eeccf06
@ -187,7 +187,6 @@ class TestRubyLiteral < Test::Unit::TestCase
|
|||||||
if defined?(RubyVM::InstructionSequence.compile_option) and
|
if defined?(RubyVM::InstructionSequence.compile_option) and
|
||||||
RubyVM::InstructionSequence.compile_option.key?(:debug_frozen_string_literal)
|
RubyVM::InstructionSequence.compile_option.key?(:debug_frozen_string_literal)
|
||||||
def test_debug_frozen_string
|
def test_debug_frozen_string
|
||||||
skip if ENV['RUBY_ISEQ_DUMP_DEBUG'] == 'to_binary'
|
|
||||||
src = '_="foo-1"'; f = "test.rb"; n = 1
|
src = '_="foo-1"'; f = "test.rb"; n = 1
|
||||||
opt = {frozen_string_literal: true, debug_frozen_string_literal: true}
|
opt = {frozen_string_literal: true, debug_frozen_string_literal: true}
|
||||||
str = RubyVM::InstructionSequence.compile(src, f, f, n, **opt).eval
|
str = RubyVM::InstructionSequence.compile(src, f, f, n, **opt).eval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user