From 8dddc351e4d2782b3a62844f3c3f87d72f9f5e13 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Thu, 15 Feb 2024 16:02:44 +0000 Subject: [PATCH] hclwrite: add two more test cases --- hclwrite/format_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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