Move reusable node functions to their own file

This commit is contained in:
Max Brunsfeld 2017-01-05 10:06:43 -08:00
parent 12cd2132ff
commit 3a4daace26
5 changed files with 76 additions and 54 deletions

View file

@ -113,7 +113,7 @@ describe("Document", [&]() {
assert_node_string_equals(
new_root,
"(object (pair (string) (array (null) (number))))");
AssertThat(spy_input->strings_read, Equals(vector<string>({" [null, 2", ""})));
AssertThat(spy_input->strings_read, Equals(vector<string>({" [null, 2" })));
});
it("reads from the new input correctly when the old input was blank", [&]() {