blob: b23a89e592a54eb42b8adedc0e273f50bb26714f (
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#pos" do
it_behaves_like :strscan_pos, :pos
end
describe "StringScanner#pos=" do
it_behaves_like :strscan_pos_set, :pos=
end
|