Merge pull request #25263 from hashicorp/alisdair/fix-test-cleanup
command: Fix test cleanup
This commit is contained in:
commit
a3231814c2
|
@ -745,7 +745,10 @@ func TestImport_missingModuleConfig(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestImportModuleVarFile(t *testing.T) {
|
||||
defer testChdir(t, testFixturePath("import-module-var-file"))()
|
||||
td := tempDir(t)
|
||||
copy.CopyDir(testFixturePath("import-module-var-file"), td)
|
||||
defer os.RemoveAll(td)
|
||||
defer testChdir(t, td)()
|
||||
|
||||
statePath := testTempFile(t)
|
||||
|
||||
|
|
Loading…
Reference in New Issue