Parse simple character sets in pattern rules
This commit is contained in:
parent
28e10dc722
commit
60e2d00b4d
6 changed files with 192 additions and 127 deletions
|
|
@ -14,7 +14,7 @@ describe("json", []() {
|
|||
});
|
||||
|
||||
it("parses strings", [&]() {
|
||||
TSDocumentSetText(document, "\"string\"");
|
||||
TSDocumentSetText(document, "\"this is a string\"");
|
||||
AssertThat(string(TSDocumentToString(document)), Equals("(value (string))"));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue