diff --git a/tests/test-rem b/tests/test-rem index b9f50fe6..75a52655 100644 --- a/tests/test-rem +++ b/tests/test-rem @@ -920,7 +920,7 @@ EOF $REMIND --json - 2025-10-01 <<'EOF' >> $OUT 2>&1 # Nonconst-expr in trigger -set a (today()+1)-today() +set a nonconst(1) REM 2025-10-01 MSG Nonconst NOT set [today()] REM 2025 Oct [a] MSG Nonconst IS set [today()] REM 2025 Oct [a] MSG Nonconst IS set @@ -929,7 +929,7 @@ EOF $REMIND -j - 2025-12-31 <<'EOF' >> $OUT 2>&1 # Nonconst-expr in trigger set $ParseUntriggered 1 -set a (today()+1)-today() +set a nonconst(1) REM 2025-10-01 MSG Nonconst NOT set [today()] REM 2025 Oct [a] MSG Nonconst IS set [today()] REM 2025 Oct [a] MSG Nonconst IS set diff --git a/tests/test.cmp b/tests/test.cmp index a1989b1f..c5307809 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -39933,7 +39933,7 @@ No reminders. ] # Nonconst-expr in trigger set $ParseUntriggered 1 -set a (today()+1)-today() +set a nonconst(1) #!P: Expired: REM 2025-10-01 MSG Nonconst NOT set [today()] #!P: Next line may have expired, but contains non-constant expression #!P: or a relative SCANFROM clause