From 37f397dded3268499e23fdeacbf97c709cf28eee Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Tue, 29 Jan 2019 22:16:41 +0000 Subject: [PATCH] command/test: Clarify failure (add full path) --- command/init_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/init_test.go b/command/init_test.go index 67922c383..c0a198452 100644 --- a/command/init_test.go +++ b/command/init_test.go @@ -85,7 +85,8 @@ func TestInit_fromModule_explicitDest(t *testing.T) { // is causing a terraform.tfstate to get left behind in our directory // here, which can interfere with our init process in a way that // isn't relevant to this test. - t.Fatalf("some other test has left terraform.tfstate behind") + fullPath, _ := filepath.Abs(DefaultStateFilename) + t.Fatalf("some other test has left terraform.tfstate behind:\n%s", fullPath) } args := []string{