Skip to content

Commit

Permalink
wtf bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Dec 7, 2023
1 parent 3378a9a commit 5d64cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ for file in */*.jou; do
if diff --text -u --color=always <(generate_expected_output test.jou | tr -d '\r') <( "$jou" test.jou 2>&1 || true | tr -d '\r'); then
echo " ok"
else
((nfail++))
((nfail++)) || true
fi
((ntotal++))
((ntotal++)) || true
done

if [ $ntotal == 0 ]; then
Expand Down

0 comments on commit 5d64cf0

Please sign in to comment.