projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MISSING VALUES: Improve error messages.
[pspp]
/
tests
/
language
/
control
/
do-repeat.at
diff --git
a/tests/language/control/do-repeat.at
b/tests/language/control/do-repeat.at
index 91f6b4bd1bb91c8c1e838ad827404baa4c07a701..22ffaa90a5f5c2c5ccd75f6f9096855e30ed2c92 100644
(file)
--- a/
tests/language/control/do-repeat.at
+++ b/
tests/language/control/do-repeat.at
@@
-94,10
+94,14
@@
END REPEAT.
LIST.
])
AT_CHECK([pspp -o pspp.csv do-repeat.sps], [0], [dnl
LIST.
])
AT_CHECK([pspp -o pspp.csv do-repeat.sps], [0], [dnl
-do-repeat.sps:8: warning: DO REPEAT: Dummy variable name `x' hides dictionary variable `x'.
+do-repeat.sps:8.11: warning: DO REPEAT: Dummy variable name `x' hides dictionary variable `x'.
+ 8 | DO REPEAT x = 1 2 3.
+ | ^
])
AT_CHECK([cat pspp.csv], [0], [dnl
])
AT_CHECK([cat pspp.csv], [0], [dnl
-do-repeat.sps:8: warning: DO REPEAT: Dummy variable name `x' hides dictionary variable `x'.
+"do-repeat.sps:8.11: warning: DO REPEAT: Dummy variable name `x' hides dictionary variable `x'.
+ 8 | DO REPEAT x = 1 2 3.
+ | ^"
Table: Data List
x,y
Table: Data List
x,y
@@
-161,6
+165,6
@@
DATA LIST NOTABLE /x 1.
DO REPEAT y = 1 TO 10.
])
AT_CHECK([pspp -O format=csv do-repeat.sps], [1], [dnl
DO REPEAT y = 1 TO 10.
])
AT_CHECK([pspp -O format=csv do-repeat.sps], [1], [dnl
-error: DO REPEAT:
Syntax error at end of input:
expecting END.
+error: DO REPEAT:
At end of input: Syntax error
expecting END.
])
AT_CLEANUP
])
AT_CLEANUP