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

describe "StringScanner#pointer" do
  it_behaves_like :strscan_pos, :pointer
end

describe "StringScanner#pointer=" do
  it_behaves_like :strscan_pos_set, :pointer=
end