[前][次][番号順一覧][スレッド一覧]

ruby-changes:56015

From: Nobuyoshi <ko1@a...>
Date: Wed, 5 Jun 2019 12:04:42 +0900 (JST)
Subject: [ruby-changes:56015] Nobuyoshi Nakada: aa8a8d8f6d (trunk): Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810

https://git.ruby-lang.org/ruby.git/commit/?id=aa8a8d8f6d

From aa8a8d8f6d259da096afc1deb65cc35e0fe518d0 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 5 Jun 2019 12:03:56 +0900
Subject: Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810


diff --git a/spec/ruby/command_line/frozen_strings_spec.rb b/spec/ruby/command_line/frozen_strings_spec.rb
index b2631a4..647b69d 100644
--- a/spec/ruby/command_line/frozen_strings_spec.rb
+++ b/spec/ruby/command_line/frozen_strings_spec.rb
@@ -22,7 +22,8 @@ end https://github.com/ruby/ruby/blob/trunk/spec/ruby/command_line/frozen_strings_spec.rb#L22
 describe "The --debug flag produces" do
   it "debugging info on attempted frozen string modification" do
     error_str = ruby_exe(fixture(__FILE__, 'debug_info.rb'), options: '--debug',  args: "2>&1")
-    error_str.should include("can't modify frozen String, created at ")
+    error_str.should include("can't modify frozen String")
+    error_str.should include("created at")
     error_str.should include("command_line/fixtures/debug_info.rb:2")
   end
 end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]