Fix php tests

This commit is contained in:
Alex Dima 2016-12-11 16:53:28 +01:00
parent 84365cfba1
commit d62ad052d0

View file

@ -1768,13 +1768,13 @@ testTokenization(['php', 'css'], [
{ startIndex:7, type: 'metatag.php' }, { startIndex:7, type: 'metatag.php' },
{ startIndex:10, type: 'string.php' }, { startIndex:10, type: 'string.php' },
{ startIndex:15, type: 'metatag.php' }, { startIndex:15, type: 'metatag.php' },
{ startIndex:17, type: 'punctuation.curly.css' }, { startIndex:17, type: 'delimiter.bracket.css' },
{ startIndex:18, type: '' }, { startIndex:18, type: '' },
{ startIndex:19, type: 'support.type.property-name.css' }, { startIndex:19, type: 'attribute.name.css' },
{ startIndex:25, type: 'support.property-value.css' }, { startIndex:25, type: 'attribute.value.css' },
{ startIndex:29, type: 'punctuation.css' }, { startIndex:29, type: 'delimiter.css' },
{ startIndex:30, type: '' }, { startIndex:30, type: '' },
{ startIndex:31, type: 'punctuation.curly.css' }, { startIndex:31, type: 'delimiter.bracket.css' },
{ startIndex:32, type: htmlTokenTypes.DELIM_START }, { startIndex:32, type: htmlTokenTypes.DELIM_START },
{ startIndex:34, type: htmlTokenTypes.getTag('style') }, { startIndex:34, type: htmlTokenTypes.getTag('style') },
{ startIndex:39, type: htmlTokenTypes.DELIM_END } { startIndex:39, type: htmlTokenTypes.DELIM_END }
@ -1794,13 +1794,13 @@ testTokenization(['php', 'css'], [
{ startIndex:16, type: 'string.php' }, { startIndex:16, type: 'string.php' },
{ startIndex:21, type: 'metatag.php' }, { startIndex:21, type: 'metatag.php' },
{ startIndex:23, type: '' }, { startIndex:23, type: '' },
{ startIndex:24, type: 'punctuation.curly.css' }, { startIndex:24, type: 'delimiter.bracket.css' },
{ startIndex:25, type: '' }, { startIndex:25, type: '' },
{ startIndex:26, type: 'support.type.property-name.css' }, { startIndex:26, type: 'attribute.name.css' },
{ startIndex:32, type: 'support.property-value.css' }, { startIndex:32, type: 'attribute.value.css' },
{ startIndex:36, type: 'punctuation.css' }, { startIndex:36, type: 'delimiter.css' },
{ startIndex:37, type: '' }, { startIndex:37, type: '' },
{ startIndex:38, type: 'punctuation.curly.css' }, { startIndex:38, type: 'delimiter.bracket.css' },
{ startIndex:39, type: htmlTokenTypes.DELIM_START }, { startIndex:39, type: htmlTokenTypes.DELIM_START },
{ startIndex:41, type: htmlTokenTypes.getTag('style') }, { startIndex:41, type: htmlTokenTypes.getTag('style') },
{ startIndex:46, type: htmlTokenTypes.DELIM_END }, { startIndex:46, type: htmlTokenTypes.DELIM_END },