Commit 1a645b1
A cleared control was announced by a line that called it a failure
The banner refuses to say "PASSED" when a negative control fails, for the
reason its own comment gives: it would tell a reader the exact opposite of
what was measured. The per-test loop eight lines above it was never given
the same treatment, so a refuted control printed
[UITest] Issue31059: FAILED (expected) <- green
CONTROL DID NOT CLEAR <- red
one after the other, and only the second was true. In the control arm a
failing test is the refutation, not the expectation.
Both directions are fixed, because a change to the failing branch alone
leaves a cleared control reported as "PASSED (should fail!)" - the same
inversion the other way round. The reproduction arm's wording is
byte-identical: Validate-ReplicationCandidate.Tests.ps1 builds a console
fixture from that exact string, and the markdown report is deliberately
untouched so existing validators keep reading what they read today.
The full-verification renderers were checked and left alone; their arms
already label themselves correctly.
Mutation tested: reverting the change fails 3 of 5, making only the
failing branch arm-aware fails 2, drifting the reproduction wording
fails 1. Suites 1731 passed, 2 failed, both pre-existing.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 735ac9a2-7bec-4baa-ad19-c298e5bc795a1 parent ef1ffc0 commit 1a645b1
2 files changed
Lines changed: 67 additions & 2 deletions
File tree
- .github/skills/verify-tests-fail-without-fix/scripts
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1801 | 1801 | | |
1802 | 1802 | | |
1803 | 1803 | | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2373 | 2373 | | |
2374 | 2374 | | |
2375 | 2375 | | |
2376 | | - | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
2377 | 2387 | | |
2378 | | - | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
| 2392 | + | |
2379 | 2393 | | |
2380 | 2394 | | |
2381 | 2395 | | |
| |||
0 commit comments