From 8b343d6360d0edc065b9b62ab5e708e907b45a92 Mon Sep 17 00:00:00 2001 From: Adam Scarr Date: Sun, 6 Aug 2017 15:43:23 +1000 Subject: Clean up Pointer --- combinator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'combinator_test.go') diff --git a/combinator_test.go b/combinator_test.go index 8c0bab0..2bec734 100644 --- a/combinator_test.go +++ b/combinator_test.go @@ -20,7 +20,7 @@ func TestAnd(t *testing.T) { t.Run("matches sequence", func(t *testing.T) { node, p2 := And("hello", WS, "world")(p) require.Equal(t, NewSequence(0, NewToken(0, "hello"), NewToken(6, "world")), node) - require.Equal(t, 0, p2.Remaining()) + require.Equal(t, "", p2.Get()) }) t.Run("returns errors", func(t *testing.T) { -- cgit v1.2.3