From 4ab70ba09d5d62b69eb345be90d94a8e9925a4c5 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 17 Oct 2017 18:55:53 -0400 Subject: [PATCH] rename confusing test module name --- config/module/test-fixtures/basic-parent-providers/a/a.tf | 2 +- config/module/tree_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/module/test-fixtures/basic-parent-providers/a/a.tf b/config/module/test-fixtures/basic-parent-providers/a/a.tf index 0b11ba26a..8451bb1f9 100644 --- a/config/module/test-fixtures/basic-parent-providers/a/a.tf +++ b/config/module/test-fixtures/basic-parent-providers/a/a.tf @@ -5,7 +5,7 @@ provider "bottom" { value = "from bottom" } -module "b" { +module "c" { source = "../c" providers = { "bottom" = "bottom.foo" diff --git a/config/module/tree_test.go b/config/module/tree_test.go index 1b9c55297..97847c6ac 100644 --- a/config/module/tree_test.go +++ b/config/module/tree_test.go @@ -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()