Add script to trim whitespace
This commit is contained in:
parent
e681a63552
commit
39aa0ccc91
66 changed files with 350 additions and 347 deletions
|
|
@ -9,12 +9,12 @@ describe("constructing rules", []() {
|
|||
rule_ptr symbol1 = sym("1");
|
||||
rule_ptr symbol2 = sym("2");
|
||||
rule_ptr symbol3 = sym("3");
|
||||
|
||||
|
||||
it("constructs binary trees", [&]() {
|
||||
AssertThat(
|
||||
seq({ symbol1, symbol2, symbol3 }),
|
||||
EqualsPointer(seq({ seq({ symbol1, symbol2 }), symbol3 })));
|
||||
|
||||
|
||||
AssertThat(
|
||||
choice({ symbol1, symbol2, symbol3 }),
|
||||
EqualsPointer(choice({ choice({ symbol1, symbol2 }), symbol3 })));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue