test(core): the adapter's line-ending answer needs every break to be CR LF
contains(CR LF) answered cr-lf for a file mixing CR LF and bare LF. Now the count of LF must equal the count of CR LF for cr-lf, with none CR LF for lf, and a mix is mixed. The claims say the engine has no host notion, so host_line_ending is unused (BS-format-4). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
695aee7a1e
commit
bab7ac72ca
2 files changed
+14
-7
No files matched your search
@@ -342,7 +342,7 @@ examples `format-cr-lf-on-an-lf-platform` and
|
||||
`format-no-customer-or-vendor-name` (BS-format-9), run by
|
||||
`every_bookspec_example_holds` and
|
||||
`the_runner_reports_every_claimed_rule_green`; the line ending is asked by
|
||||
the iif_line_ending query (the adapter's answer_iif), the file's own CR LF.
|
||||
the iif_line_ending query (the adapter's answer_iif), which reads the file's own bytes: cr-lf when every line break is CR LF, lf when every one is a bare LF, mixed when it is neither. The engine has no notion of a host, so the adapter does not use an example's host_line_ending setup.
|
||||
|
||||
### Product rules
|
||||
|
||||
|
||||
Reference in new issue
Block a user