fix(ci): anchor AST goldens to LF bytes and test CRLF explicitly
The Windows CI failure was a checkout byte-identity problem, not a Markdown semantics change: CRLF goldens compared with LF parser output produced '0 line(s) differ'. - add .gitattributes: text files are LF, native products are binary, and the intentional CRLF fixture stays a byte fixture - report the first differing byte and whether only line endings differ - fail early when a golden contains CR instead of the opaque mismatch - assert exactly one CRLF fixture and that its golden is canonical LF - add a markdown test proving CRLF/LF have equal structure while spans remain byte offsets into the original source
This commit is contained in:
1 parent
e966b7661f
commit
c7f3a8422c
4 files changed
+244
-3
No files matched your search
@@ -7,3 +7,10 @@
|
||||
# Built plugin artifacts
|
||||
examples/plugin-demo/solver.so
|
||||
examples/plugin-multi-export/solver.so
|
||||
|
||||
# Local cargo home used on hosts with a read-only $HOME
|
||||
.cargo-home/
|
||||
|
||||
# Generated plugin fixture manifests/artifacts
|
||||
examples/plugin-demo/build/
|
||||
examples/plugin-multi-export/build/
|
||||
Reference in new issue
Block a user