hcl/parser: remove spew

This commit is contained in:
Mitchell Hashimoto 2016-06-21 13:26:00 -07:00
parent cb3a023ffc
commit c9b6178f09
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A

View File

@ -8,8 +8,6 @@ import (
"runtime"
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/hcl/hcl/token"
)
@ -350,9 +348,9 @@ func TestParse_inline(t *testing.T) {
for _, tc := range cases {
t.Logf("Testing: %q", tc.Value)
ast, err := Parse([]byte(tc.Value))
_, err := Parse([]byte(tc.Value))
if (err != nil) != tc.Err {
t.Fatalf("Input: %q\n\nError: %s\n\nAST: %s", tc.Value, err, spew.Sdump(ast))
t.Fatalf("Input: %q\n\nError: %s\n\nAST: %s", tc.Value, err)
}
}
}