diff options
| author | Radek Simko <radek.simko@gmail.com> | 2024-02-15 16:02:44 +0000 |
|---|---|---|
| committer | Radek Simko <radek.simko@gmail.com> | 2024-02-15 16:02:44 +0000 |
| commit | 8dddc351e4d2782b3a62844f3c3f87d72f9f5e13 (patch) | |
| tree | bd7dc462e20bc8b3abb592141f454ddc5d03b300 /hclwrite | |
| parent | f022482158e1110101d8fcedf1e3628548a140e9 (diff) | |
hclwrite: add two more test cases
Diffstat (limited to 'hclwrite')
| -rw-r--r-- | hclwrite/format_test.go | 8 |
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()`, |
