From a2091c3023a6741049d20beffbe8c94c2d5f4732 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 27 Jun 2019 21:21:33 +0200 Subject: Update to ruby/spec@94d98ff --- spec/ruby/core/proc/shared/to_s.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/ruby/core/proc/shared') diff --git a/spec/ruby/core/proc/shared/to_s.rb b/spec/ruby/core/proc/shared/to_s.rb index de021692e2..59fcf5bef0 100644 --- a/spec/ruby/core/proc/shared/to_s.rb +++ b/spec/ruby/core/proc/shared/to_s.rb @@ -4,7 +4,7 @@ describe :proc_to_s, shared: true do Proc.new { "hello" }.send(@method).should =~ /^#$/ end - it "has an BINARY encoding" do + it "has a binary encoding" do Proc.new { "hello" }.send(@method).encoding.should == Encoding::BINARY end end @@ -14,7 +14,7 @@ describe :proc_to_s, shared: true do lambda { "hello" }.send(@method).should =~ /^#$/ end - it "has an BINARY encoding" do + it "has a binary encoding" do lambda { "hello" }.send(@method).encoding.should == Encoding::BINARY end end @@ -24,7 +24,7 @@ describe :proc_to_s, shared: true do proc { "hello" }.send(@method).should =~ /^#$/ end - it "has an BINARY encoding" do + it "has a binary encoding" do proc { "hello" }.send(@method).encoding.should == Encoding::BINARY end end @@ -35,7 +35,7 @@ describe :proc_to_s, shared: true do method("hello").to_proc.send(@method).should =~ /^#$/ end - it "has an BINARY encoding" do + it "has a binary encoding" do def hello; end method("hello").to_proc.send(@method).encoding.should == Encoding::BINARY end @@ -47,7 +47,7 @@ describe :proc_to_s, shared: true do proc.send(@method).should =~ /^#$/ end - it "has an BINARY encoding" do + it "has a binary encoding" do proc = :foobar.to_proc proc.send(@method).encoding.should == Encoding::BINARY end -- cgit v1.2.3