Skip to content

Commit 22ab488

Browse files
committed
Another one
1 parent 396fcf5 commit 22ab488

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

internal/command/test_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -1811,9 +1811,8 @@ can remove the provider configuration again.
18111811
Meta: meta,
18121812
}
18131813

1814-
output := done(t)
1815-
18161814
if code := init.Run(nil); code != 0 {
1815+
output := done(t)
18171816
t.Fatalf("expected status code 0 but got %d: %s", code, output.All())
18181817
}
18191818

@@ -1827,7 +1826,7 @@ can remove the provider configuration again.
18271826
}
18281827

18291828
code := c.Run([]string{"-no-color"})
1830-
output = done(t)
1829+
output := done(t)
18311830

18321831
if code != 1 {
18331832
t.Errorf("expected status code 1 but got %d", code)

0 commit comments

Comments
 (0)