spec/token_scanner_spec.rb in dentaku-2.0.6 vs spec/token_scanner_spec.rb in dentaku-2.0.7
- old
+ new
@@ -26,10 +26,10 @@
expect(token.category).to eq(:numeric)
expect(token.value).to eq(5)
end
it 'returns a list of all configured scanners' do
- expect(described_class.scanners.length).to eq 13
+ expect(described_class.scanners.length).to eq 14
end
it 'allows customizing available scanners' do
described_class.scanners = [:whitespace, :numeric]
expect(described_class.scanners.length).to eq 2