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

ruby-changes:63775

From: Benoit <ko1@a...>
Date: Fri, 27 Nov 2020 23:47:51 +0900 (JST)
Subject: [ruby-changes:63775] ddb1736bfc (master): Update to ruby/spec@c4170a3

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

From ddb1736bfc0cc65351bc52c150b85baf45871870 Mon Sep 17 00:00:00 2001
From: Benoit Daloze <eregontp@g...>
Date: Fri, 27 Nov 2020 15:47:17 +0100
Subject: Update to ruby/spec@c4170a3


diff --git a/spec/ruby/core/kernel/backtick_spec.rb b/spec/ruby/core/kernel/backtick_spec.rb
index 045bb59..834d563 100644
--- a/spec/ruby/core/kernel/backtick_spec.rb
+++ b/spec/ruby/core/kernel/backtick_spec.rb
@@ -37,7 +37,7 @@ describe "Kernel#`" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/kernel/backtick_spec.rb#L37
 
   platform_is_not :windows do
     it "handles invalid UTF-8 bytes in command" do
-      `echo "testing\xC2 a non UTF-8 string"`.should == "testing\xC2 a non UTF-8 string\n"
+      `echo "testing\xC2 a non UTF-8 string"`.b.should == "testing\xC2 a non UTF-8 string\n".b
     end
 
     it "sets $? to the exit status of the executed sub-process" do
-- 
cgit v0.10.2


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

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