Skip to content

Commit

Permalink
fix failing test run
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Gordon committed Feb 20, 2020
1 parent 9a34ea8 commit 4771b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wbnf/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func assertNodeParsesAs(
}

func assertNodeParsesAsScenario(t *testing.T, s nodeParseScenario) bool { //nolint:unparam
p, err := Compile(s.grammar)
p, err := Compile(s.grammar, nil)
g := p.Grammar()
require.NoError(t, err)

Expand Down Expand Up @@ -76,7 +76,7 @@ func assertNodeFailsToParse(
}

func assertNodeFailsToParseScenario(t *testing.T, s nodeParseScenario) bool { //nolint:unparam
p, err := Compile(s.grammar)
p, err := Compile(s.grammar, nil)
require.NoError(t, err)

src := parser.NewScanner(strings.TrimRight(s.input, " "))
Expand Down

0 comments on commit 4771b33

Please sign in to comment.