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:
parent
6fa3492362
commit
95c420c4a6
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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue