mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 19:37:24 +08:00

This lets littlecheck "diff" the given output with the checks, leading to easier to understand errors. E.g. changing some random lines in andandoror.fish yields error output like: ``` Testing file checks/andandoror.fish ... Failure: The CHECK on line 36 wants: if test 4 ok which failed to match line stdout:9: if test 3 ok Context: [...] from line 17 (stdout:6): true && false || true: 0 if test 1 ok if test 2 ok if test 3 ok <= no check matches this, previous check on line 35 if test 4 ok 0 0 0 1 1 1 2 2 2 3 3 3 <= does not match CHECK '3 5 3' on line 55 4 4 4 0 1 [...] from line 126 (stdout:33): 0 0 0 <= nothing to match CHECK 'banana' on line 135 when running command: ../test/root/bin/fish checks/andandoror.fish ``` This updates littlecheck to b9c24a3.