Add tests for editing all language examples
This drove out several fixes to the incremental parsing algorithm. There are a few examples which still don't work and which have been explicitly excluded, for now.
This commit is contained in:
parent
4d652aac45
commit
647c3e2010
3 changed files with 39 additions and 5 deletions
|
|
@ -269,7 +269,7 @@ describe("Parser", [&]() {
|
|||
});
|
||||
|
||||
it("re-reads only the changed portion of the input", [&]() {
|
||||
AssertThat(reader->strings_read, Equals(vector<string>({ "123 + 5 ", "" })));
|
||||
AssertThat(reader->strings_read, Equals(vector<string>({ "123 + 5 ", " 4", "" })));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue