From 132876fce437c35fc861b0796cd231405250bbd5 Mon Sep 17 00:00:00 2001 From: Adam Scarr Date: Mon, 7 Aug 2017 21:38:46 +1000 Subject: Small perf tweaks --- combinator_test.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'combinator_test.go') 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") -- cgit v1.2.3