Add html tests

This commit is contained in:
Alex Dima 2016-09-16 22:29:37 +02:00
parent a7917b195e
commit e1a09ac16d
9 changed files with 654 additions and 21 deletions

View file

@ -13,8 +13,8 @@ testTokenization(['php', 'css'], [
// We're testing the fact that tokenize does not throw
[
{ line: '<?php', tokens: [{ startIndex:0, type: "metatag.php" }]},
{ line: '"', tokens: [{ startIndex:0, type: "string.php"}]},
{ line: '\\', tokens: [{startIndex:0, type:""}]}
{ line: '"', tokens: [{ startIndex:0, type: "string.php" }]},
{ line: '\\', tokens: [{startIndex:0, type:"" }]}
],
// Blocks