Two injected faults went unseen: utf8.DecodeLastRune accepting a rune that does not end at the end of the line, and the position of the separator checked one byte short for a string that is not ASCII. The generator now writes lines whose ends are a space next to a stray continuation byte or a space cut short, which TrimSpace keeps, and strings with a byte that is not ASCII and a separator 6, 7 or 8 bytes before the end. Go and Dart agree on all of them, and the tests now see both faults. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>v0.11
parent
ecc11be74d
commit
2f35979e45
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue