Commit aae325e
fix(tests): repair extension summary assertion in doctor diagnostics test
tests/test-doctor-extension-diagnostics.sh test #9 used
grep -q "ext_total.*ext_healthy" which requires ext_total to appear
FIRST on a single line. But scripts/dream-doctor.sh:364 emits
"{ext_healthy}/{ext_total} healthy, {ext_issues} with issues" —
ext_healthy comes first. The test has been permanently failing since
the format was introduced.
Switches to two chained order-independent substring greps, matching
the idiom already used in the same file at test #7 (extensions_total +
extensions_healthy + extensions_issues). Future-proof against either
variable being reordered in the print statement.
All 9 tests now pass (was 8/9 before).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d5154c3 commit aae325e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments