Commit 30b0981
test(hex-line): de-flake anchor-extraction regexes in smoke.mjs
Tightened three regexes in the round-trip and CHECKSUM_MISMATCH tests
so the anchor pattern [a-z2-7]{2}\.N is followed by \t<content>. The
loose form could accidentally match a substring of the mtime timestamp
in the readFile meta line (e.g. "25.2" in "...T19:17:25.29...Z"),
producing a bogus anchor and a HASH_MISMATCH failure on CI.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d72675b commit 30b0981
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2755 | 2755 | | |
2756 | 2756 | | |
2757 | 2757 | | |
2758 | | - | |
2759 | | - | |
| 2758 | + | |
| 2759 | + | |
2760 | 2760 | | |
2761 | 2761 | | |
2762 | 2762 | | |
| |||
2823 | 2823 | | |
2824 | 2824 | | |
2825 | 2825 | | |
2826 | | - | |
| 2826 | + | |
2827 | 2827 | | |
2828 | 2828 | | |
2829 | 2829 | | |
| |||
0 commit comments