aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/language/regexp_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/regexp_spec.rb')
-rw-r--r--spec/ruby/language/regexp_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/language/regexp_spec.rb b/spec/ruby/language/regexp_spec.rb
index cd71d54338..ac3f773c49 100644
--- a/spec/ruby/language/regexp_spec.rb
+++ b/spec/ruby/language/regexp_spec.rb
@@ -20,7 +20,7 @@ describe "Literal Regexps" do
ruby_version_is "2.8" do
it "is frozen" do
- /Hello/.frozen?.should == true
+ /Hello/.should.frozen?
end
end