summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringscanner/empty_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringscanner/empty_spec.rb')
-rw-r--r--spec/ruby/library/stringscanner/empty_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/stringscanner/empty_spec.rb b/spec/ruby/library/stringscanner/empty_spec.rb
index ebbc2c2703..c6b9444215 100644
--- a/spec/ruby/library/stringscanner/empty_spec.rb
+++ b/spec/ruby/library/stringscanner/empty_spec.rb
@@ -3,7 +3,7 @@ require File.expand_path('../shared/eos.rb', __FILE__)
require 'strscan'
describe "StringScanner#empty?" do
- it_behaves_like(:strscan_eos, :empty?)
+ it_behaves_like :strscan_eos, :empty?
it "warns in verbose mode that the method is obsolete" do
s = StringScanner.new("abc")