From 11d601ad6d14b99568283b33166df7db7c1c4095 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Mon, 30 Jan 2017 18:06:30 -0500 Subject: [PATCH] TestRefresh_badState can be re-enabled Refactored the code to maintain the behavior. --- command/refresh_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/command/refresh_test.go b/command/refresh_test.go index 458886624..b5bfe7950 100644 --- a/command/refresh_test.go +++ b/command/refresh_test.go @@ -59,9 +59,6 @@ func TestRefresh(t *testing.T) { } } -// TODO: State locking now creates the state file. -// Is there a good reason this shouldn't exist? -/* func TestRefresh_badState(t *testing.T) { p := testProvider() ui := new(cli.MockUi) @@ -80,7 +77,6 @@ func TestRefresh_badState(t *testing.T) { t.Fatalf("bad: %d\n\n%s", code, ui.ErrorWriter.String()) } } -*/ func TestRefresh_cwd(t *testing.T) { cwd, err := os.Getwd()