summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-11-27 15:47:17 +0100
committerBenoit Daloze <eregontp@gmail.com>2020-11-27 15:47:17 +0100
commitddb1736bfc0cc65351bc52c150b85baf45871870 (patch)
tree731a059c3cbe202e6018d52318fce516b552581c /spec
parentf02d2f82bf10351f480ea312f40cb840e2437f93 (diff)
Update to ruby/spec@c4170a3
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/kernel/backtick_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/backtick_spec.rb b/spec/ruby/core/kernel/backtick_spec.rb
index 045bb598cd..834d5636c1 100644
--- a/spec/ruby/core/kernel/backtick_spec.rb
+++ b/spec/ruby/core/kernel/backtick_spec.rb
@@ -37,7 +37,7 @@ describe "Kernel#`" do
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