diff options
Diffstat (limited to '415/index.md')
-rw-r--r-- | 415/index.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/415/index.md b/415/index.md new file mode 100644 index 0000000..3d96842 --- /dev/null +++ b/415/index.md @@ -0,0 +1,16 @@ +Title: Fix newer compare output +Author: rodarima +Created: Sun, 29 Jun 2025 12:17:17 +0000 +State: closed + +The compare output command has now two numbers, so it will always fail if we compare it to "0". + +``` +++ compare -metric AE b-div.html_wdir/html.png b-div.html_wdir/ref.png b-div.html_wdir/diff.png ++ diffcount='0 (0)' ++ '[' '0 (0)' = 0 ']' ++ echo FAIL +FAIL +``` + +So we simply take the first one.
\ No newline at end of file |