Sha256: 88037ff6447d4129209768369efb1653abdece1fc0222674672d8742c0285dc0
Contents?: true
Size: 285 Bytes
Versions: 7
Compression:
Stored size: 285 Bytes
Contents
# Encoding: UTF-8 require 'spec_helper' describe Parslet::Position do slet(:position) { described_class.new('öäüö', 4) } it 'should have a charpos of 2' do position.charpos.should == 2 end it 'should have a bytepos of 4' do position.bytepos.should == 4 end end
Version data entries
7 entries across 7 versions & 2 rubygems