Commit 97df780
committed
test: fix help style test when FORCE_COLOR is in parent env
The NO_COLOR and alignment-preservation tests inherited FORCE_COLOR
from process.env, which takes precedence over NO_COLOR and caused
the tests to fail on CI environments where FORCE_COLOR is set.
Delete FORCE_COLOR from the child env in those test cases.
Signed-off-by: Adrian Estrada <edsadr@gmail.com>1 parent 8f06ce5 commit 97df780
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments