aboutsummaryrefslogtreecommitdiffstats
path: root/mail-overview
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-13 17:22:35 +0200
committerDanilo M. <danix@danix.xyz>2026-09-13 17:22:35 +0200
commit18735f3771ae335b147b604e25b805f6bb7afd62 (patch)
tree823a04cf8d74d57a92e4daedf7828774b8687aff /mail-overview
parentb79f34725fca2eb43bf1377e43b9aba4ef29afeb (diff)
downloadquickshell-18735f3771ae335b147b604e25b805f6bb7afd62.tar.gz
quickshell-18735f3771ae335b147b604e25b805f6bb7afd62.zip
test(mail-overview): exercise the integer guard in read_prev_rev
Diffstat (limited to 'mail-overview')
-rwxr-xr-xmail-overview/test-mail-notify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail-overview/test-mail-notify.sh b/mail-overview/test-mail-notify.sh
index 95e971d..d5db6c3 100755
--- a/mail-overview/test-mail-notify.sh
+++ b/mail-overview/test-mail-notify.sh
@@ -128,7 +128,7 @@ check "a revision written is a revision read back" \
check "a different database UUID discards the revision" \
"" "$(read_prev_rev "uuid-b")"
-printf 'garbage not a state file\n' > "$tmpstate"
+printf 'uuid-a garbage\n' > "$tmpstate"
check "an unparseable state file reports no previous revision" \
"" "$(read_prev_rev "uuid-a")"