Last active
January 22, 2018 01:05
-
-
Save robinst/5b18d47cf45697bacd827fee845795bb to your computer and use it in GitHub Desktop.
syntect: change from onig to fancy-regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- syntest-master-53a251d.txt 2018-01-22 11:57:07.000000000 +1100 | |
+++ ../syntect/syntest-fancy-cd3423a.txt 2018-01-22 11:43:32.000000000 +1100 | |
@@ -42,6 +42,16 @@ | |
Ok(Success(424)) | |
Testing file ./testdata/Packages/ASP/syntax_test_asp.asp | |
The test file references syntax definition file: Packages/ASP/HTML-ASP.sublime-syntax | |
+ Assertion selector "storage.modifier.asp" from line 73 failed against line 63, column range 41-42 (with text "c") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "storage.modifier.asp" from line 73 failed against line 63, column range 42-43 (with text "o") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "storage.modifier.asp" from line 73 failed against line 63, column range 43-44 (with text "n") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "storage.modifier.asp" from line 73 failed against line 63, column range 44-45 (with text "s") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "storage.modifier.asp" from line 73 failed against line 63, column range 45-46 (with text "t") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "invalid.illegal.name.asp - entity.name.constant.asp" from line 74 failed against line 63, column range 54-55 (with text "c") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "invalid.illegal.name.asp - entity.name.constant.asp" from line 74 failed against line 63, column range 55-56 (with text "o") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "invalid.illegal.name.asp - entity.name.constant.asp" from line 74 failed against line 63, column range 56-57 (with text "n") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "invalid.illegal.name.asp - entity.name.constant.asp" from line 74 failed against line 63, column range 57-58 (with text "s") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
+ Assertion selector "invalid.illegal.name.asp - entity.name.constant.asp" from line 74 failed against line 63, column range 58-59 (with text "t") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.class.asp>, <meta.class.body.asp>, <invalid.illegal.unexpected-token.asp>] | |
Assertion selector "punctuation.section.embedded.begin.inside-block.asp" from line 961 failed against line 960, column range 4-6 (with text "<%") has scope [<text.html.asp>, <punctuation.section.embedded.begin.asp>] | |
Assertion selector "keyword.control.flow.asp" from line 962 failed against line 960, column range 7-10 (with text "End") has scope [<text.html.asp>, <source.asp.embedded.html>, <invalid.illegal.unexpected-token.asp>] | |
Assertion selector "keyword.control.flow.asp" from line 962 failed against line 960, column range 10-11 (with text " ") has scope [<text.html.asp>, <source.asp.embedded.html>] | |
@@ -49,8 +59,10 @@ | |
Assertion selector "meta.if.block.asp" from line 971 failed against line 970, column range 6-7 (with text " ") has scope [<text.html.asp>] | |
Assertion selector "keyword.control.flow.asp" from line 972 failed against line 970, column range 7-10 (with text "End") has scope [<text.html.asp>, <source.asp.embedded.html>, <invalid.illegal.unexpected-token.asp>] | |
Assertion selector "keyword.control.flow.asp" from line 972 failed against line 970, column range 10-11 (with text " ") has scope [<text.html.asp>, <source.asp.embedded.html>] | |
- Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp keyword.control.flow.asp" from line 985 failed against line 984, column range 8-16 (with text "for each") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.for.block.asp>, <keyword.control.flow.asp>] | |
- Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp keyword.control.flow.asp" from line 986 failed against line 984, column range 22-24 (with text "in") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.for.block.asp>, <meta.for.block.asp>, <keyword.control.flow.asp>] | |
+ Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp keyword.control.flow.asp" from line 985 failed against line 984, column range 8-11 (with text "for") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.for.block.asp>, <keyword.control.flow.asp>] | |
+ Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp keyword.control.flow.asp" from line 985 failed against line 984, column range 11-12 (with text " ") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.for.block.asp>] | |
+ Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp keyword.control.flow.asp" from line 985 failed against line 984, column range 12-16 (with text "each") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.for.block.asp>, <variable.other.asp>] | |
+ Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp keyword.control.flow.asp" from line 986 failed against line 984, column range 22-24 (with text "in") has scope [<text.html.asp>, <source.asp.embedded.html>, <meta.for.block.asp>, <invalid.illegal.unexpected-token.literal.asp>] | |
Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp" from line 988 failed against line 987, column range 21-22 (with text " ") has scope [<text.html.asp>, <source.asp.embedded.html>] | |
Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp" from line 988 failed against line 987, column range 22-26 (with text "item") has scope [<text.html.asp>, <source.asp.embedded.html>, <support.function.vb.asp>] | |
Assertion selector "text.html.asp source.asp.embedded.html meta.method.asp meta.method.body.asp meta.for.block.asp" from line 988 failed against line 987, column range 26-27 (with text " ") has scope [<text.html.asp>, <source.asp.embedded.html>] | |
@@ -109,17 +121,11 @@ | |
Assertion selector "punctuation.section.embedded.begin.inside-block.asp" from line 1117 failed against line 1116, column range 1-3 (with text "<%") has scope [<text.html.asp>, <punctuation.section.embedded.begin.asp>] | |
Assertion selector "keyword.control.flow.asp" from line 1118 failed against line 1116, column range 4-7 (with text "End") has scope [<text.html.asp>, <source.asp.embedded.html>, <invalid.illegal.unexpected-token.asp>] | |
Assertion selector "keyword.control.flow.asp" from line 1118 failed against line 1116, column range 7-8 (with text " ") has scope [<text.html.asp>, <source.asp.embedded.html>] | |
-Ok(FailedAssertions(162, 4077)) | |
+Ok(FailedAssertions(172, 4077)) | |
Testing file ./testdata/Packages/Makefile/syntax_test_makefile.mak | |
The test file references syntax definition file: Packages/Makefile/Makefile.sublime-syntax | |
- Assertion selector "variable" from line 50 failed against line 49, column range 0-1 (with text "b") has scope [<source.makefile>, <meta.function.makefile>, <entity.name.function.makefile>] | |
- Assertion selector "keyword" from line 51 failed against line 49, column range 5-6 (with text "=") has scope [<source.makefile>, <meta.function.arguments.makefile>, <string.unquoted.makefile>] | |
- Assertion selector "- string.unquoted" from line 52 failed against line 49, column range 6-7 (with text " ") has scope [<source.makefile>, <meta.function.arguments.makefile>, <string.unquoted.makefile>] | |
Assertion selector "comment.line. punctuation - meta.function.arguments - string.unquoted" from line 251 failed against line 244, column range 11-12 (with text "#") has scope [<source.makefile>, <comment.line.number-sign.makefile>, <punctuation.definition.comment.makefile>] | |
- Assertion selector "variable.other" from line 474 failed against line 473, column range 12-13 (with text "R") has scope [<source.makefile>, <meta.function.makefile>, <entity.name.function.makefile>] | |
- Assertion selector "keyword.operator.assignment" from line 476 failed against line 473, column range 14-15 (with text "=") has scope [<source.makefile>, <meta.function.makefile>, <entity.name.function.makefile>] | |
- Assertion selector "string.unquoted" from line 477 failed against line 473, column range 16-17 (with text ":") has scope [<source.makefile>, <keyword.operator.assignment.makefile>] | |
-Ok(FailedAssertions(7, 612)) | |
+Ok(FailedAssertions(1, 612)) | |
Testing file ./testdata/Packages/Markdown/syntax_test_multimarkdown.md | |
The test file references syntax definition file: Packages/Markdown/MultiMarkdown.sublime-syntax | |
Ok(Success(120)) | |
@@ -583,32 +589,7 @@ | |
Ok(FailedAssertions(944, 4102)) | |
Testing file ./testdata/Packages/C#/tests/syntax_test_Strings.cs | |
The test file references syntax definition file: Packages/C#/C#.sublime-syntax | |
- Assertion selector "constant.character.escape.cs" from line 5 failed against line 3, column range 15-16 (with text "\\") has scope [<source.cs>, <string.quoted.double.cs>, <invalid.illegal.lone-escape.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 5 failed against line 3, column range 16-21 (with text "u1234") has scope [<source.cs>, <string.quoted.double.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 9 failed against line 7, column range 14-15 (with text "\\") has scope [<source.cs>, <string.quoted.double.cs>, <invalid.illegal.lone-escape.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 9 failed against line 7, column range 15-24 (with text "U12345678") has scope [<source.cs>, <string.quoted.double.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 17 failed against line 15, column range 16-17 (with text "\\") has scope [<source.cs>, <string.quoted.double.cs>, <invalid.illegal.lone-escape.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 17 failed against line 15, column range 17-18 (with text "\'") has scope [<source.cs>, <string.quoted.double.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 18 failed against line 15, column range 19-20 (with text "\\") has scope [<source.cs>, <string.quoted.double.cs>, <invalid.illegal.lone-escape.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 18 failed against line 15, column range 20-21 (with text "\"") has scope [<source.cs>, <string.quoted.double.cs>, <punctuation.definition.string.end.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 19 failed against line 15, column range 22-24 (with text "\\\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 20 failed against line 15, column range 25-26 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 20 failed against line 15, column range 26-27 (with text "0") has scope [<source.cs>, <constant.numeric.integer.decimal.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 21 failed against line 15, column range 28-29 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 21 failed against line 15, column range 29-30 (with text "a") has scope [<source.cs>, <variable.other.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 22 failed against line 15, column range 31-32 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 22 failed against line 15, column range 32-33 (with text "b") has scope [<source.cs>, <variable.other.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 23 failed against line 15, column range 34-35 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 23 failed against line 15, column range 35-36 (with text "f") has scope [<source.cs>, <variable.other.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 24 failed against line 15, column range 37-38 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 24 failed against line 15, column range 38-39 (with text "n") has scope [<source.cs>, <variable.other.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 25 failed against line 15, column range 40-41 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 25 failed against line 15, column range 41-42 (with text "r") has scope [<source.cs>, <variable.other.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 26 failed against line 15, column range 43-44 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 26 failed against line 15, column range 44-45 (with text "t") has scope [<source.cs>, <variable.other.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 27 failed against line 15, column range 46-47 (with text "\\") has scope [<source.cs>] | |
- Assertion selector "constant.character.escape.cs" from line 27 failed against line 15, column range 47-48 (with text "v") has scope [<source.cs>, <variable.other.cs>] | |
-Ok(FailedAssertions(38, 43)) | |
+Ok(Success(43)) | |
Testing file ./testdata/Packages/C#/tests/syntax_test_HelloWorld.cs | |
The test file references syntax definition file: Packages/C#/C#.sublime-syntax | |
Ok(Success(46)) | |
@@ -770,7 +751,11 @@ | |
Ok(Success(495)) | |
Testing file ./testdata/Packages/Java/syntax_test_java.java | |
The test file references syntax definition file: Packages/Java/Java.sublime-syntax | |
-Ok(Success(3715)) | |
+ Assertion selector "constant.numeric.float" from line 890 failed against line 888, column range 16-18 (with text "23") has scope [<source.java>, <meta.class.java>, <meta.class.body.java>, <meta.method.java>, <meta.method.body.java>, <meta.assignment.rhs.java>, <constant.numeric.integer.decimal.java>] | |
+ Assertion selector "constant.numeric.float" from line 892 failed against line 888, column range 25-27 (with text "23") has scope [<source.java>, <meta.class.java>, <meta.class.body.java>, <meta.method.java>, <meta.method.body.java>, <meta.assignment.rhs.java>, <constant.numeric.integer.decimal.java>] | |
+ Assertion selector "constant.numeric.float" from line 906 failed against line 903, column range 17-19 (with text "23") has scope [<source.java>, <meta.class.java>, <meta.class.body.java>, <meta.method.java>, <meta.method.body.java>, <meta.assignment.rhs.java>, <meta.assignment.rhs.java>, <meta.assignment.rhs.java>, <constant.numeric.integer.decimal.java>] | |
+ Assertion selector "constant.numeric.float" from line 909 failed against line 903, column range 27-29 (with text "23") has scope [<source.java>, <meta.class.java>, <meta.class.body.java>, <meta.method.java>, <meta.method.body.java>, <meta.assignment.rhs.java>, <meta.assignment.rhs.java>, <meta.assignment.rhs.java>, <constant.numeric.integer.decimal.java>] | |
+Ok(FailedAssertions(8, 3715)) | |
Testing file ./testdata/Packages/Java/syntax_test_jsp.jsp | |
The test file references syntax definition file: Packages/Java/Java Server Pages (JSP).sublime-syntax | |
Ok(Success(199)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment