mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-16 07:12:43 +00:00
Review caught a test that cannot pass on Windows: it asserted the error for `validate-pdf --nope` contains "No such file", which is the unix phrasing. Windows says "The system cannot find the file specified", so the assertion failed there even when the command refused the path correctly -- the same mistake as the `\\?\C:\` one on #1909, and in a test whose point is to run everywhere. It asserts the error names the path; `failed()` already checks the exit code and the stream. The companion check that a `<sub> --help` run did not open a file now looks for either operating system's wording, so it catches that on Windows too rather than only on unix.