summaryrefslogtreecommitdiff
path: root/hclsyntax/variables_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hclsyntax/variables_test.go')
-rw-r--r--hclsyntax/variables_test.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/hclsyntax/variables_test.go b/hclsyntax/variables_test.go
index c841d94..9eb3d41 100644
--- a/hclsyntax/variables_test.go
+++ b/hclsyntax/variables_test.go
@@ -8,8 +8,8 @@ import (
"reflect"
"testing"
+ "github.com/davecgh/go-spew/spew"
"github.com/hashicorp/hcl/v2"
- "github.com/kr/pretty"
"github.com/zclconf/go-cty/cty"
)
@@ -300,7 +300,10 @@ func TestVariables(t *testing.T) {
got := Variables(test.Expr)
if !reflect.DeepEqual(got, test.Want) {
- t.Errorf("wrong result\ngot: %s\nwant: %s", pretty.Sprint(got), pretty.Sprint(test.Want))
+ t.Errorf(
+ "wrong result\ngot: %s\nwant: %s",
+ spew.Sdump(got), spew.Sdump(test.Want),
+ )
}
})
}