aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/string/uplus_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/uplus_spec.rb')
-rw-r--r--spec/ruby/core/string/uplus_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/uplus_spec.rb b/spec/ruby/core/string/uplus_spec.rb
index a7402b4549..038b283c90 100644
--- a/spec/ruby/core/string/uplus_spec.rb
+++ b/spec/ruby/core/string/uplus_spec.rb
@@ -5,7 +5,7 @@ describe 'String#+@' do
input = 'foo'.freeze
output = +input
- output.frozen?.should == false
+ output.should_not.frozen?
output.should == 'foo'
end