mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 14:28:40 +02:00
Shorten error message.
All checks were successful
Remind unit tests / tests (push) Successful in 29s
All checks were successful
Remind unit tests / tests (push) Successful in 29s
This commit is contained in:
@@ -558,7 +558,7 @@ int ParseRem(ParsePtr s, Trigger *trig, TimeTrig *tim)
|
||||
|
||||
case T_Number:
|
||||
DBufFree(&buf);
|
||||
Eprint("Number `%d' is not recognized as a year (%d-%d) or a day number (1-31)",
|
||||
Eprint("`%d' is not recognized as a year (%d-%d) or a day number (1-31)",
|
||||
tok.val, BASE, BASE+YR_RANGE);
|
||||
return E_PARSE_ERR;
|
||||
|
||||
|
||||
@@ -5700,7 +5700,7 @@ Entering UserFN dooby(1)
|
||||
Leaving UserFN dooby(1) => 1
|
||||
|
||||
REM 1 Jan 1873 MSG This should fail
|
||||
../tests/test.rem(1122): Number `1873' is not recognized as a year (1990-5990) or a day number (1-31)
|
||||
../tests/test.rem(1122): `1873' is not recognized as a year (1990-5990) or a day number (1-31)
|
||||
REM 1873-12-11 MSG Also bad.
|
||||
../tests/test.rem(1123): Bad date specification: `1873-12-11'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user