summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringscanner/pointer_spec.rb
blob: 8c993c5a71433e585b4713490098ee03e5b41724 (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