Remove some ambiguities in parsing

This commit is contained in:
2026-03-06 21:41:26 -08:00
parent b1c2bfc896
commit 90e36d8faf
8 changed files with 41 additions and 39 deletions

View File

@@ -25,7 +25,7 @@ for fn in aoc2025/Day*.newt; do
if ! diff -q tmp/${bn}.out ${fn}.golden; then
echo "Output mismatch for $fn"
failed=$((failed + 1))
if [ $1 = "--fix" ]; then
if [ "$1" = "--fix" ]; then
cp tmp/${bn}.out ${fn}.golden
fi
fi