From 103e8d5bc757c88c9e2b0a567b830fbe36991816 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 12 Dec 2018 17:16:02 +0000 Subject: skip a test. * test/ruby/test_literal.rb (test_debug_frozen_string_in_array_literal): skip last test if `RUBY_ISEQ_DUMP_DEBUG` is specified because round-trip (iseq <-> binary/array) doesn't support this feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_literal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_literal.rb') diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb index 178cc83fa3..ef2467e177 100644 --- a/test/ruby/test_literal.rb +++ b/test/ruby/test_literal.rb @@ -204,7 +204,7 @@ class TestRubyLiteral < Test::Unit::TestCase assert_predicate(ary.first, :frozen?) assert_raise_with_message(FrozenError, /created at #{Regexp.quote(f)}:#{n}/) { ary.first << "x" - } + } unless ENV['RUBY_ISEQ_DUMP_DEBUG'] end end -- cgit v1.2.3