Browse Source

Fix php tests

Alex Dima 8 years ago
parent
commit
d62ad052d0
1 changed files with 10 additions and 10 deletions
  1. 10 10
      test/php.test.ts

+ 10 - 10
test/php.test.ts

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