mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
testing framework: change test file extension to .tftest.hcl (#33553)
This commit is contained in:
@@ -151,7 +151,7 @@ func (c *ProvidersCommand) populateTreeNode(tree treeprint.Tree, node *configs.M
|
||||
tree.AddNode(fmt.Sprintf("provider[%s]%s", fqn.String(), versionsStr))
|
||||
}
|
||||
for name, testNode := range node.Tests {
|
||||
name = strings.TrimSuffix(name, ".tftest")
|
||||
name = strings.TrimSuffix(name, ".tftest.hcl")
|
||||
name = strings.ReplaceAll(name, "/", ".")
|
||||
branch := tree.AddBranch(fmt.Sprintf("test.%s", name))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user