summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/concat_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/concat_spec.rb')
-rw-r--r--spec/ruby/core/string/concat_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/concat_spec.rb b/spec/ruby/core/string/concat_spec.rb
index cbd7df54e2..0194a357a0 100644
--- a/spec/ruby/core/string/concat_spec.rb
+++ b/spec/ruby/core/string/concat_spec.rb
@@ -21,7 +21,7 @@ describe "String#concat" do
it "returns self when given no arguments" do
str = +"hello"
- str.concat.should equal(str)
+ str.concat.should.equal?(str)
str.should == "hello"
end
end