Remove superfluous fmt.Println in test
This commit is contained in:
parent
cf289e6474
commit
390017951e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user