Sha256: 6645e4db90cff8681966a54ff951019bb5f8851ab6f42fbd5143a07a1612169b
Contents?: true
Size: 275 Bytes
Versions: 5
Compression:
Stored size: 275 Bytes
Contents
require 'helper.rb' module BibTeX class LexerTest < MiniTest::Spec it 'should correctly scan a string literal' do assert_equal Lexer.new.analyse(%q(@string{ x = "foo" })).symbols, [:AT,:STRING,:LBRACE,:NAME,:EQ,:STRING_LITERAL,:RBRACE,false] end end end
Version data entries
5 entries across 5 versions & 1 rubygems