mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Properly fix printing of ^-- here in error diagnosis.
All checks were successful
Remind unit tests / tests (push) Successful in 1m36s
All checks were successful
Remind unit tests / tests (push) Successful in 1m36s
This commit is contained in:
@@ -633,6 +633,14 @@ fi
|
||||
# Torture test #2
|
||||
../src/remind ../tests/torture2.rem >> ../tests/test.out 2>&1
|
||||
|
||||
# Expression error-reporting
|
||||
../src/remind -de - 1 Feb 2024 <<'EOF' >> ../tests/test.out 2>&1
|
||||
set a 8 * "]]]" & 6
|
||||
msg [8 * "]]]" & 6] is weird
|
||||
set a 9 *
|
||||
set a 9 * ]
|
||||
EOF
|
||||
|
||||
# Languages
|
||||
for i in ../include/lang/??.rem ; do
|
||||
../src/remind -r -q "-ii=\"$i\"" ../tests/tstlang.rem 1 Feb 2024 13:34 >> ../tests/test.out 2>&1
|
||||
|
||||
@@ -23410,7 +23410,7 @@ max(6, 9, 50) => 50
|
||||
Parsed expression: max(1,
|
||||
=> Error: Illegal character
|
||||
Unparsed: ,1)
|
||||
max(1,,1)
|
||||
,1)
|
||||
^-- here
|
||||
Parsed expression: 5%0
|
||||
=> (% 5 0)
|
||||
@@ -24312,6 +24312,26 @@ Translation hash table statistics:
|
||||
Expression nodes high-water: 300000
|
||||
Expression nodes leaked: 0
|
||||
Parse level high-water: 7
|
||||
set a 8 * "]]]" & 6
|
||||
-stdin-(1): Parse error `&' (did you mean `&&'?)
|
||||
8 * "]]]" & 6
|
||||
^-- here
|
||||
msg [8 * "]]]" & 6] is weird
|
||||
-stdin-(2): Parse error `&' (did you mean `&&'?)
|
||||
8 * "]]]" & 6
|
||||
^-- here
|
||||
set a 9 *
|
||||
-stdin-(3): Unexpected end of line
|
||||
9 *
|
||||
^-- here
|
||||
set a 9 * ]
|
||||
-stdin-(4): Illegal character `]'
|
||||
9 * ]
|
||||
^-- here
|
||||
|
||||
Reminders for Thursday, 1st February, 2024:
|
||||
|
||||
No reminders.
|
||||
Agenda pel dijous, 1 de febrer de 2024:
|
||||
|
||||
Language: ca
|
||||
|
||||
Reference in New Issue
Block a user