Commit 1ca4a08
committed
fix: Make MD005 Unicode test order-independent
The test was failing because it expected violations to be returned in
line order, but MD005 returns them in detection order. Changed the test
to check for the presence of violations on specific lines rather than
relying on array indices.
This fixes the flaky test that was passing locally but failing in CI.1 parent bc81a5c commit 1ca4a08
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
41 | 53 | | |
42 | 54 | | |
43 | 55 | | |
| |||
0 commit comments