ruby-changes:54147
From: ko1 <ko1@a...>
Date: Thu, 13 Dec 2018 02:16:07 +0900 (JST)
Subject: [ruby-changes:54147] ko1:r66368 (trunk): skip a test.
ko1 2018-12-13 02:16:02 +0900 (Thu, 13 Dec 2018) New Revision: 66368 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66368 Log: 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. Modified files: trunk/test/ruby/test_literal.rb Index: test/ruby/test_literal.rb =================================================================== --- test/ruby/test_literal.rb (revision 66367) +++ test/ruby/test_literal.rb (revision 66368) @@ -204,7 +204,7 @@ class TestRubyLiteral < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_literal.rb#L204 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/