diff options
author | Adam Scarr <adam@vektah.net> | 2017-08-07 21:38:46 +1000 |
---|---|---|
committer | Adam Scarr <adam@vektah.net> | 2017-08-07 21:38:46 +1000 |
commit | 132876fce437c35fc861b0796cd231405250bbd5 (patch) | |
tree | 409078673207a3745606a83a32407faa8ad0dd06 /combinator_test.go | |
parent | a656dc0d78c5f51a16dc4c26936d337cdae5105c (diff) |
Small perf tweaks
Diffstat (limited to 'combinator_test.go')
-rw-r--r-- | combinator_test.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/combinator_test.go b/combinator_test.go index dbf2b50..5fd23eb 100644 --- a/combinator_test.go +++ b/combinator_test.go @@ -14,14 +14,6 @@ func TestNil(t *testing.T) { require.False(t, p2.Errored()) } -func TestNever(t *testing.T) { - node, p2 := runParser("hello world", Never) - - require.Nil(t, node) - require.Equal(t, 0, p2.Pos) - require.True(t, p2.Errored()) -} - func TestAnd(t *testing.T) { parser := And("hello", "world") |