Commit 9d79391
committed
[Tests] colors: pin
Address ljharb's review: assert `nvm --help` and `nvm set-colors` don't
leak the `local NVM_HAS_COLORS` guard into the calling shell, and assert
`nvm_nvmrc_invalid_msg` still emits its actual message text, not just
that it's uncolored.NVM_HAS_COLORS to stay local, and pin the invalid-.nvmrc message1 parent d0fab8b commit 9d79391
3 files changed
Lines changed: 13 additions & 0 deletions
File tree
- test/fast
- Set Colors
- Unit tests
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
0 commit comments