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

ruby-changes:67033

From: Nobuyoshi <ko1@a...>
Date: Wed, 4 Aug 2021 17:02:45 +0900 (JST)
Subject: [ruby-changes:67033] 1f2b3f2529 (master): Remove an extraneous escape

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

From 1f2b3f2529e39d8a69709a9f4ce6cf7153877fbe Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 4 Aug 2021 16:59:18 +0900
Subject: Remove an extraneous escape

Since a3fb97465df3, this string is not inside the here-document.
---
 tool/lib/core_assertions.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb
index c0c69e0..eb06412 100644
--- a/tool/lib/core_assertions.rb
+++ b/tool/lib/core_assertions.rb
@@ -263,7 +263,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/core_assertions.rb#L263
         include(*Test::Unit::TestCase.ancestors.select {|c| !c.is_a?(Class) })
         out = out ? IO.new(out, 'w') : STDOUT
         at_exit {
-          out.puts [Marshal.dump($!)].pack('m'), "assertions=\#{self._assertions}"
+          out.puts [Marshal.dump($!)].pack('m'), "assertions=#{self._assertions}"
         }
         Test::Unit::Runner.class_variable_set(:@@stop_auto_run, true) if defined?(Test::Unit::Runner)
       end
-- 
cgit v1.1


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

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