Skip to content

Commit 9961aa2

Browse files
committed
Fix colorizer tests after vscode-textmate adoption
1 parent 9cdb0d6 commit 9961aa2

2 files changed

Lines changed: 10 additions & 351 deletions

File tree

extensions/jade/test/colorize-results/test-4287_jade.json

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,14 @@
1111
}
1212
},
1313
{
14-
"c": " // ",
15-
"t": "",
16-
"r": {
17-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
18-
"light_plus": ".vs .token rgb(0, 0, 0)",
19-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
20-
"light_vs": ".vs .token rgb(0, 0, 0)",
21-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
22-
}
23-
},
24-
{
25-
"c": "asdsdas",
26-
"t": "jade.meta.name.other entity.tag",
14+
"c": " // asdsdas",
15+
"t": "block.buffered.comment.jade.string",
2716
"r": {
28-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
29-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
30-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
31-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
32-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
17+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
18+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string.jade rgb(0, 0, 255)",
19+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
20+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string.jade rgb(0, 0, 255)",
21+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
3322
}
3423
}
3524
]

extensions/jade/test/colorize-results/test_jade.json

Lines changed: 3 additions & 333 deletions
Original file line numberDiff line numberDiff line change
@@ -572,129 +572,8 @@
572572
}
573573
},
574574
{
575-
"c": "-",
576-
"t": "js.source",
577-
"r": {
578-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
579-
"light_plus": ".vs .token rgb(0, 0, 0)",
580-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
581-
"light_vs": ".vs .token rgb(0, 0, 0)",
582-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
583-
}
584-
},
585-
{
586-
"c": " ",
587-
"t": "expr.js.meta.source.var",
588-
"r": {
589-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
590-
"light_plus": ".vs .token rgb(0, 0, 0)",
591-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
592-
"light_vs": ".vs .token rgb(0, 0, 0)",
593-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
594-
}
595-
},
596-
{
597-
"c": "var",
598-
"t": "expr.js.meta.source.storage.type.var",
599-
"r": {
600-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type rgb(86, 156, 214)",
601-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type rgb(0, 0, 255)",
602-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type rgb(86, 156, 214)",
603-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type rgb(0, 0, 255)",
604-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type rgb(86, 156, 214)"
605-
}
606-
},
607-
{
608-
"c": " ",
609-
"t": "expr.js.meta.source.var",
610-
"r": {
611-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
612-
"light_plus": ".vs .token rgb(0, 0, 0)",
613-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
614-
"light_vs": ".vs .token rgb(0, 0, 0)",
615-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
616-
}
617-
},
618-
{
619-
"c": "user",
620-
"t": "expr.js.meta.source.var.var-single-variable.variable",
621-
"r": {
622-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable rgb(156, 220, 254)",
623-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable rgb(0, 16, 128)",
624-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
625-
"light_vs": ".vs .token rgb(0, 0, 0)",
626-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
627-
}
628-
},
629-
{
630-
"c": " = ",
631-
"t": "expr.js.meta.source.var.var-single-variable",
632-
"r": {
633-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
634-
"light_plus": ".vs .token rgb(0, 0, 0)",
635-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
636-
"light_vs": ".vs .token rgb(0, 0, 0)",
637-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
638-
}
639-
},
640-
{
641-
"c": "{",
642-
"t": "block.brace.curly.expr.js.meta.source.var.var-single-variable",
643-
"r": {
644-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
645-
"light_plus": ".vs .token rgb(0, 0, 0)",
646-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
647-
"light_vs": ".vs .token rgb(0, 0, 0)",
648-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
649-
}
650-
},
651-
{
652-
"c": " ",
653-
"t": "block.expr.js.meta.source.var.var-single-variable",
654-
"r": {
655-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
656-
"light_plus": ".vs .token rgb(0, 0, 0)",
657-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
658-
"light_vs": ".vs .token rgb(0, 0, 0)",
659-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
660-
}
661-
},
662-
{
663-
"c": "name: ",
664-
"t": "block.expr.js.member.meta.object.source.var.var-single-variable",
665-
"r": {
666-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
667-
"light_plus": ".vs .token rgb(0, 0, 0)",
668-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
669-
"light_vs": ".vs .token rgb(0, 0, 0)",
670-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
671-
}
672-
},
673-
{
674-
"c": "'John'",
675-
"t": "block.expr.js.member.meta.object.single.source.string.var.var-single-variable",
676-
"r": {
677-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
678-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
679-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
680-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
681-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
682-
}
683-
},
684-
{
685-
"c": " ",
686-
"t": "block.expr.js.member.meta.object.source.var.var-single-variable",
687-
"r": {
688-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
689-
"light_plus": ".vs .token rgb(0, 0, 0)",
690-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
691-
"light_vs": ".vs .token rgb(0, 0, 0)",
692-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
693-
}
694-
},
695-
{
696-
"c": "}",
697-
"t": "block.brace.curly.expr.js.meta.source.var.var-single-variable",
575+
"c": "- var user = { name: 'John' }",
576+
"t": "",
698577
"r": {
699578
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
700579
"light_plus": ".vs .token rgb(0, 0, 0)",
@@ -1386,216 +1265,7 @@
13861265
}
13871266
},
13881267
{
1389-
"c": "p",
1390-
"t": "jade.meta.name.other entity.tag",
1391-
"r": {
1392-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1393-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1394-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1395-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1396-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1397-
}
1398-
},
1399-
{
1400-
"c": " ",
1401-
"t": "",
1402-
"r": {
1403-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
1404-
"light_plus": ".vs .token rgb(0, 0, 0)",
1405-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
1406-
"light_vs": ".vs .token rgb(0, 0, 0)",
1407-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1408-
}
1409-
},
1410-
{
1411-
"c": "#[",
1412-
"t": "entity.function.inline.jade.name",
1413-
"r": {
1414-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function rgb(220, 220, 170)",
1415-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function rgb(121, 94, 38)",
1416-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function rgb(212, 212, 212)",
1417-
"light_vs": ".vs .token rgb(0, 0, 0)",
1418-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1419-
}
1420-
},
1421-
{
1422-
"c": "code",
1423-
"t": "inline.jade.meta.name.other entity.tag",
1424-
"r": {
1425-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1426-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1427-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1428-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1429-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1430-
}
1431-
},
1432-
{
1433-
"c": " ",
1434-
"t": "inline.jade",
1435-
"r": {
1436-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
1437-
"light_plus": ".vs .token rgb(0, 0, 0)",
1438-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
1439-
"light_vs": ".vs .token rgb(0, 0, 0)",
1440-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1441-
}
1442-
},
1443-
{
1444-
"c": "samp",
1445-
"t": "inline.jade.meta.name.other entity.tag",
1446-
"r": {
1447-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1448-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1449-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1450-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1451-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1452-
}
1453-
},
1454-
{
1455-
"c": "]",
1456-
"t": "entity.function.inline.jade.name",
1457-
"r": {
1458-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function rgb(220, 220, 170)",
1459-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function rgb(121, 94, 38)",
1460-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function rgb(212, 212, 212)",
1461-
"light_vs": ".vs .token rgb(0, 0, 0)",
1462-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1463-
}
1464-
},
1465-
{
1466-
"c": " — Regular text. ",
1467-
"t": "",
1468-
"r": {
1469-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
1470-
"light_plus": ".vs .token rgb(0, 0, 0)",
1471-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
1472-
"light_vs": ".vs .token rgb(0, 0, 0)",
1473-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1474-
}
1475-
},
1476-
{
1477-
"c": "#[",
1478-
"t": "entity.function.inline.jade.name",
1479-
"r": {
1480-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function rgb(220, 220, 170)",
1481-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function rgb(121, 94, 38)",
1482-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function rgb(212, 212, 212)",
1483-
"light_vs": ".vs .token rgb(0, 0, 0)",
1484-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1485-
}
1486-
},
1487-
{
1488-
"c": "samp",
1489-
"t": "inline.jade.meta.name.other entity.tag",
1490-
"r": {
1491-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1492-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1493-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1494-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1495-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1496-
}
1497-
},
1498-
{
1499-
"c": " ",
1500-
"t": "inline.jade",
1501-
"r": {
1502-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
1503-
"light_plus": ".vs .token rgb(0, 0, 0)",
1504-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
1505-
"light_vs": ".vs .token rgb(0, 0, 0)",
1506-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1507-
}
1508-
},
1509-
{
1510-
"c": "This",
1511-
"t": "inline.jade.meta.name.other entity.tag",
1512-
"r": {
1513-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1514-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1515-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1516-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1517-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1518-
}
1519-
},
1520-
{
1521-
"c": " ",
1522-
"t": "inline.jade",
1523-
"r": {
1524-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
1525-
"light_plus": ".vs .token rgb(0, 0, 0)",
1526-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
1527-
"light_vs": ".vs .token rgb(0, 0, 0)",
1528-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1529-
}
1530-
},
1531-
{
1532-
"c": "is",
1533-
"t": "inline.jade.meta.name.other entity.tag",
1534-
"r": {
1535-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1536-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1537-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1538-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1539-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1540-
}
1541-
},
1542-
{
1543-
"c": " ",
1544-
"t": "inline.jade",
1545-
"r": {
1546-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
1547-
"light_plus": ".vs .token rgb(0, 0, 0)",
1548-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
1549-
"light_vs": ".vs .token rgb(0, 0, 0)",
1550-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1551-
}
1552-
},
1553-
{
1554-
"c": "sample",
1555-
"t": "inline.jade.meta.name.other entity.tag",
1556-
"r": {
1557-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1558-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1559-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1560-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1561-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1562-
}
1563-
},
1564-
{
1565-
"c": " ",
1566-
"t": "inline.jade",
1567-
"r": {
1568-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
1569-
"light_plus": ".vs .token rgb(0, 0, 0)",
1570-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
1571-
"light_vs": ".vs .token rgb(0, 0, 0)",
1572-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1573-
}
1574-
},
1575-
{
1576-
"c": "text",
1577-
"t": "inline.jade.meta.name.other entity.tag",
1578-
"r": {
1579-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.tag rgb(86, 156, 214)",
1580-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.tag rgb(128, 0, 0)",
1581-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.tag rgb(86, 156, 214)",
1582-
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.entity.name.tag rgb(128, 0, 0)",
1583-
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.entity.name.tag rgb(86, 156, 214)"
1584-
}
1585-
},
1586-
{
1587-
"c": "]",
1588-
"t": "entity.function.inline.jade.name",
1589-
"r": {
1590-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function rgb(220, 220, 170)",
1591-
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function rgb(121, 94, 38)",
1592-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function rgb(212, 212, 212)",
1593-
"light_vs": ".vs .token rgb(0, 0, 0)",
1594-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
1595-
}
1596-
},
1597-
{
1598-
"c": " more text.",
1268+
"c": "p #[code samp] — Regular text. #[samp This is sample text] more text.",
15991269
"t": "",
16001270
"r": {
16011271
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",

0 commit comments

Comments
 (0)