Properly merge transitions on overlapping character sets!

This commit is contained in:
Max Brunsfeld 2014-02-10 13:20:43 -08:00
parent 905a408998
commit 8baa1396fd
15 changed files with 330 additions and 207 deletions

View file

@ -14,7 +14,7 @@ describe("json", []() {
});
it("parses strings", [&]() {
TSDocumentSetText(document, "\"this is a string\"");
TSDocumentSetText(document, "\"this is a \\\"string\\\" \"");
AssertThat(string(TSDocumentToString(document)), Equals("(value (string))"));
});