');
+ }).to.throwError();
+ });
+ it('style with mark as text', function () {
+ var lexer = homunculus.getLexer('axml');
+ var tokens = lexer.parse('');
+ expect(join(tokens)).to.eql(['<', 'style', '>', '
', '', 'style', '>']);
+ expect(type(tokens)).to.eql([26, 24, 26, 25, 26, 24, 26]);
+ });
+ it('script no end', function () {
+ var lexer = homunculus.getLexer('axml');
+ var tokens = lexer.parse('