rename confusing test module name

This commit is contained in:
James Bardin 2017-10-17 18:55:53 -04:00
parent fe0957deb7
commit 4ab70ba09d
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ provider "bottom" {
value = "from bottom"
}
module "b" {
module "c" {
source = "../c"
providers = {
"bottom" = "bottom.foo"

View File

@ -542,13 +542,13 @@ func TestTreeProviders_basic(t *testing.T) {
}
for _, child := range a.Children() {
if child.Name() == "b" {
if child.Name() == "c" {
b = child
}
}
if b == nil {
t.Fatal("could not find module 'b'")
t.Fatal("could not find module 'c'")
}
aProviders := a.config.ProviderConfigsByFullName()