summaryrefslogtreecommitdiff
path: root/hclwrite/format_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hclwrite/format_test.go')
-rw-r--r--hclwrite/format_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/hclwrite/format_test.go b/hclwrite/format_test.go
index be236b5..5c4eb7a 100644
--- a/hclwrite/format_test.go
+++ b/hclwrite/format_test.go
@@ -620,6 +620,14 @@ module "x" {
`attr = provider::framework::example()`,
},
{
+ `attr = provider :: framework :: example()`,
+ `attr = provider::framework::example()`,
+ },
+ {
+ `attr = provider ::framework:: example()`,
+ `attr = provider::framework::example()`,
+ },
+ {
// This is invalid syntax so formatting it with spaces
// does not have any meaning other than to make the fact more visible
`attr = provider::+example()`,