summaryrefslogtreecommitdiff
path: root/ext/include
diff options
context:
space:
mode:
authorMartin Atkins <mart@degeneration.co.uk>2017-09-11 17:29:56 -0700
committerMartin Atkins <mart@degeneration.co.uk>2017-09-11 17:29:56 -0700
commitbdf1e7c6e63d505dd4564aebb89f7dfd85728f81 (patch)
tree8c83151470d23858ae127c089932fedb66f33e62 /ext/include
parentb8b5e0be6dbd5129c12602f5e851f088b6d8ade8 (diff)
gohcl: rename struct tag prefix from "zcl:" to "hcl:"
Diffstat (limited to 'ext/include')
-rw-r--r--ext/include/transformer_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/include/transformer_test.go b/ext/include/transformer_test.go
index 99a344b..fba73fe 100644
--- a/ext/include/transformer_test.go
+++ b/ext/include/transformer_test.go
@@ -6,8 +6,8 @@ import (
"github.com/davecgh/go-spew/spew"
"github.com/hashicorp/hcl2/gohcl"
- "github.com/hashicorp/hcl2/hcltest"
"github.com/hashicorp/hcl2/hcl"
+ "github.com/hashicorp/hcl2/hcltest"
"github.com/zclconf/go-cty/cty"
)
@@ -78,10 +78,10 @@ func TestTransformer(t *testing.T) {
merged := transformer.TransformBody(caller)
type foo struct {
- From string `zcl:"from,attr"`
+ From string `hcl:"from,attr"`
}
type result struct {
- Foos []foo `zcl:"foo,block"`
+ Foos []foo `hcl:"foo,block"`
}
var got result
diags := gohcl.DecodeBody(merged, nil, &got)