diff options
Diffstat (limited to 'spec/rubyspec/library/stringscanner/check_until_spec.rb')
-rw-r--r-- | spec/rubyspec/library/stringscanner/check_until_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/rubyspec/library/stringscanner/check_until_spec.rb b/spec/rubyspec/library/stringscanner/check_until_spec.rb deleted file mode 100644 index e397b2e4c1..0000000000 --- a/spec/rubyspec/library/stringscanner/check_until_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require 'strscan' - -describe "StringScanner#check_until" do - before :each do - @s = StringScanner.new("This is a test") - end - - it "returns the same value of scan_until, but don't advances the scan pointer" do - @s.check_until(/a/).should == "This is a" - @s.pos.should == 0 - @s.matched.should == "a" - @s.check_until(/test/).should == "This is a test" - end -end |