Skip to content

Commit e2593ac

Browse files
committed
Make test assert that warning about skipping workspace creation is included.
1 parent 0ad86d7 commit e2593ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/init_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3317,7 +3317,7 @@ func TestInit_stateStore_newWorkingDir(t *testing.T) {
33173317

33183318
// Check output
33193319
output := testOutput.All()
3320-
expectedOutput := `Initializing the state store...`
3320+
expectedOutput := `Terraform has been configured to skip creation of the default workspace`
33213321
if !strings.Contains(output, expectedOutput) {
33223322
t.Fatalf("expected output to include %q, but got':\n %s", expectedOutput, output)
33233323
}

0 commit comments

Comments
 (0)