mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
rename confusing test module name
This commit is contained in:
parent
fe0957deb7
commit
4ab70ba09d
@ -5,7 +5,7 @@ provider "bottom" {
|
|||||||
value = "from bottom"
|
value = "from bottom"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "b" {
|
module "c" {
|
||||||
source = "../c"
|
source = "../c"
|
||||||
providers = {
|
providers = {
|
||||||
"bottom" = "bottom.foo"
|
"bottom" = "bottom.foo"
|
||||||
|
@ -542,13 +542,13 @@ func TestTreeProviders_basic(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, child := range a.Children() {
|
for _, child := range a.Children() {
|
||||||
if child.Name() == "b" {
|
if child.Name() == "c" {
|
||||||
b = child
|
b = child
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if b == nil {
|
if b == nil {
|
||||||
t.Fatal("could not find module 'b'")
|
t.Fatal("could not find module 'c'")
|
||||||
}
|
}
|
||||||
|
|
||||||
aProviders := a.config.ProviderConfigsByFullName()
|
aProviders := a.config.ProviderConfigsByFullName()
|
||||||
|
Loading…
Reference in New Issue
Block a user