aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/stringscanner/append_spec.rb
blob: f75b3cc715c26b0fb277953cb1ab0fb67d291bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/concat.rb', __FILE__)
require 'strscan'

describe "StringScanner#<<" do
  it_behaves_like :strscan_concat, :<<
end

describe "StringScanner#<< when passed a Fixnum" do
  it_behaves_like :strscan_concat_fixnum, :<<
end