Remove superfluous fmt.Println in test

This commit is contained in:
Özgür Kesim 2020-02-25 21:56:48 +01:00
parent cf289e6474
commit 390017951e

View File

@ -3,7 +3,6 @@ package goparsify
import ( import (
"testing" "testing"
"fmt"
"os" "os"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
@ -80,8 +79,6 @@ func TestAny(t *testing.T) {
t.Run("ab a", func(t *testing.T) { t.Run("ab a", func(t *testing.T) {
node, ps := runParser("ab a", p) node, ps := runParser("ab a", p)
fmt.Println(node)
require.False(t, ps.Errored()) require.False(t, ps.Errored())
require.Equal(t, "ab", node.Child[0].Token) require.Equal(t, "ab", node.Child[0].Token)
require.Equal(t, "a", node.Child[1].Token) require.Equal(t, "a", node.Child[1].Token)