Skip to content

Commit

Permalink
Refactor test with print of triple plus
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Aug 14, 2018
1 parent 18a2b9a commit 3e66961
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions print_test.go
Expand Up @@ -68,10 +68,10 @@ var printTests = []printTest{
binaryNode{"*", binaryNode{"+", nameNode{"a"}, nameNode{"b"}}, binaryNode{"+", nameNode{"c"}, nameNode{"d"}}},
"(a + b) * (c + d)",
},
//{
// binaryNode{"+", binaryNode{"+", nameNode{"a"}, nameNode{"b"}}, binaryNode{"+", nameNode{"c"}, nameNode{"d"}}},
// "a + b + c + d",
//},
{
binaryNode{"+", binaryNode{"+", binaryNode{"+", nameNode{"a"}, nameNode{"b"}}, nameNode{"c"}}, nameNode{"d"}},
"a + b + c + d",
},
{
binaryNode{"**", binaryNode{"**", nameNode{"a"}, nameNode{"b"}}, nameNode{"c"}},
"(a ** b) ** c",
Expand Down

0 comments on commit 3e66961

Please sign in to comment.