@@ -1494,9 +1494,8 @@ func TestTest_ModuleDependencies(t *testing.T) {
1494
1494
Meta : meta ,
1495
1495
}
1496
1496
1497
- output := done (t )
1498
-
1499
1497
if code := init .Run (nil ); code != 0 {
1498
+ output := done (t )
1500
1499
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
1501
1500
}
1502
1501
@@ -1510,7 +1509,7 @@ func TestTest_ModuleDependencies(t *testing.T) {
1510
1509
}
1511
1510
1512
1511
code := command .Run (nil )
1513
- output = done (t )
1512
+ output : = done (t )
1514
1513
1515
1514
printedOutput := false
1516
1515
@@ -1812,9 +1811,8 @@ can remove the provider configuration again.
1812
1811
Meta : meta ,
1813
1812
}
1814
1813
1815
- output := done (t )
1816
-
1817
1814
if code := init .Run (nil ); code != 0 {
1815
+ output := done (t )
1818
1816
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
1819
1817
}
1820
1818
@@ -1828,7 +1826,7 @@ can remove the provider configuration again.
1828
1826
}
1829
1827
1830
1828
code := c .Run ([]string {"-no-color" })
1831
- output = done (t )
1829
+ output : = done (t )
1832
1830
1833
1831
if code != 1 {
1834
1832
t .Errorf ("expected status code 1 but got %d" , code )
@@ -1935,9 +1933,8 @@ func TestTest_StatePropagation(t *testing.T) {
1935
1933
Meta : meta ,
1936
1934
}
1937
1935
1938
- output := done (t )
1939
-
1940
1936
if code := init .Run (nil ); code != 0 {
1937
+ output := done (t )
1941
1938
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
1942
1939
}
1943
1940
@@ -1951,7 +1948,7 @@ func TestTest_StatePropagation(t *testing.T) {
1951
1948
}
1952
1949
1953
1950
code := c .Run ([]string {"-verbose" , "-no-color" })
1954
- output = done (t )
1951
+ output : = done (t )
1955
1952
1956
1953
if code != 0 {
1957
1954
t .Errorf ("expected status code 0 but got %d" , code )
@@ -2075,9 +2072,8 @@ func TestTest_OnlyExternalModules(t *testing.T) {
2075
2072
Meta : meta ,
2076
2073
}
2077
2074
2078
- output := done (t )
2079
-
2080
2075
if code := init .Run (nil ); code != 0 {
2076
+ output := done (t )
2081
2077
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
2082
2078
}
2083
2079
@@ -2091,7 +2087,7 @@ func TestTest_OnlyExternalModules(t *testing.T) {
2091
2087
}
2092
2088
2093
2089
code := c .Run ([]string {"-no-color" })
2094
- output = done (t )
2090
+ output : = done (t )
2095
2091
2096
2092
if code != 0 {
2097
2093
t .Errorf ("expected status code 0 but got %d" , code )
@@ -2211,9 +2207,8 @@ func TestTest_InvalidWarningsInCleanup(t *testing.T) {
2211
2207
Meta : meta ,
2212
2208
}
2213
2209
2214
- output := done (t )
2215
-
2216
2210
if code := init .Run (nil ); code != 0 {
2211
+ output := done (t )
2217
2212
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
2218
2213
}
2219
2214
@@ -2227,7 +2222,7 @@ func TestTest_InvalidWarningsInCleanup(t *testing.T) {
2227
2222
}
2228
2223
2229
2224
code := c .Run ([]string {"-no-color" })
2230
- output = done (t )
2225
+ output : = done (t )
2231
2226
2232
2227
if code != 0 {
2233
2228
t .Errorf ("expected status code 0 but got %d" , code )
@@ -2810,9 +2805,8 @@ func TestTest_SensitiveInputValues(t *testing.T) {
2810
2805
Meta : meta ,
2811
2806
}
2812
2807
2813
- output := done (t )
2814
-
2815
2808
if code := init .Run (nil ); code != 0 {
2809
+ output := done (t )
2816
2810
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
2817
2811
}
2818
2812
@@ -2826,7 +2820,7 @@ func TestTest_SensitiveInputValues(t *testing.T) {
2826
2820
}
2827
2821
2828
2822
code := c .Run ([]string {"-no-color" , "-verbose" })
2829
- output = done (t )
2823
+ output : = done (t )
2830
2824
2831
2825
if code != 1 {
2832
2826
t .Errorf ("expected status code 1 but got %d" , code )
@@ -3088,9 +3082,8 @@ func TestTest_InvalidOverrides(t *testing.T) {
3088
3082
Meta : meta ,
3089
3083
}
3090
3084
3091
- output := done (t )
3092
-
3093
3085
if code := init .Run (nil ); code != 0 {
3086
+ output := done (t )
3094
3087
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
3095
3088
}
3096
3089
@@ -3104,7 +3097,7 @@ func TestTest_InvalidOverrides(t *testing.T) {
3104
3097
}
3105
3098
3106
3099
code := c .Run ([]string {"-no-color" })
3107
- output = done (t )
3100
+ output : = done (t )
3108
3101
3109
3102
if code != 0 {
3110
3103
t .Errorf ("expected status code 0 but got %d" , code )
@@ -3188,9 +3181,8 @@ func TestTest_InvalidConfig(t *testing.T) {
3188
3181
Meta : meta ,
3189
3182
}
3190
3183
3191
- output := done (t )
3192
-
3193
3184
if code := init .Run (nil ); code != 0 {
3185
+ output := done (t )
3194
3186
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
3195
3187
}
3196
3188
@@ -3204,7 +3196,7 @@ func TestTest_InvalidConfig(t *testing.T) {
3204
3196
}
3205
3197
3206
3198
code := c .Run ([]string {"-no-color" })
3207
- output = done (t )
3199
+ output : = done (t )
3208
3200
3209
3201
if code != 1 {
3210
3202
t .Errorf ("expected status code ! but got %d" , code )
@@ -3271,9 +3263,8 @@ func TestTest_RunBlocksInProviders(t *testing.T) {
3271
3263
Meta : meta ,
3272
3264
}
3273
3265
3274
- output := done (t )
3275
-
3276
3266
if code := init .Run (nil ); code != 0 {
3267
+ output := done (t )
3277
3268
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
3278
3269
}
3279
3270
@@ -3287,7 +3278,7 @@ func TestTest_RunBlocksInProviders(t *testing.T) {
3287
3278
}
3288
3279
3289
3280
code := test .Run ([]string {"-no-color" })
3290
- output = done (t )
3281
+ output : = done (t )
3291
3282
3292
3283
if code != 0 {
3293
3284
t .Errorf ("expected status code 0 but got %d" , code )
@@ -3339,9 +3330,8 @@ func TestTest_RunBlocksInProviders_BadReferences(t *testing.T) {
3339
3330
Meta : meta ,
3340
3331
}
3341
3332
3342
- output := done (t )
3343
-
3344
3333
if code := init .Run (nil ); code != 0 {
3334
+ output := done (t )
3345
3335
t .Fatalf ("expected status code 0 but got %d: %s" , code , output .All ())
3346
3336
}
3347
3337
@@ -3355,7 +3345,7 @@ func TestTest_RunBlocksInProviders_BadReferences(t *testing.T) {
3355
3345
}
3356
3346
3357
3347
code := test .Run ([]string {"-no-color" })
3358
- output = done (t )
3348
+ output : = done (t )
3359
3349
3360
3350
if code != 1 {
3361
3351
t .Errorf ("expected status code 1 but got %d" , code )
0 commit comments