diff --git a/hclwrite/format_test.go b/hclwrite/format_test.go index be236b5d..5c4eb7a6 100644 --- a/hclwrite/format_test.go +++ b/hclwrite/format_test.go @@ -619,6 +619,14 @@ module "x" { `attr = provider::framework::example()`, `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