TestRefresh_badState can be re-enabled

Refactored the code to maintain the behavior.
This commit is contained in:
James Bardin 2017-01-30 18:06:30 -05:00
parent 1380bbedb2
commit 11d601ad6d
1 changed files with 0 additions and 4 deletions

View File

@ -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()