Skip to content

Commit

Permalink
hclwrite: add two more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Feb 15, 2024
1 parent f022482 commit 8dddc35
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hclwrite/format_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dddc35

Please sign in to comment.