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:
Max Brunsfeld 2014-10-22 18:44:52 -07:00
parent 4d652aac45
commit 647c3e2010
3 changed files with 39 additions and 5 deletions

View file

@ -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", "" })));
});
});