1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Import StringScanner 1.0.3 (#2553)

This commit is contained in:
Sutou Kouhei 2019-10-14 12:40:50 +09:00 committed by GitHub
parent 6fa3492362
commit 95c420c4a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2019-10-14 12:41:16 +09:00
Merged-By: kou <kou@clear-code.com>
7 changed files with 451 additions and 142 deletions

View file

@ -12,7 +12,7 @@ describe "StringScanner#dup" do
s.string.should == @string
end
it "copies the passed StringSCanner's position to self" do
it "copies the passed StringScanner's position to self" do
@orig_s.pos = 5
s = @orig_s.dup
s.pos.should eql(5)