projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CORRELATIONS: Improve error messages and coding style.
[pspp]
/
tests
/
language
/
stats
/
rank.at
diff --git
a/tests/language/stats/rank.at
b/tests/language/stats/rank.at
index bd3f8becb478495b37e66574fe2db0db7f2d10c7..3351741f1bc640b7c29dc68856f8adf75c4dc7a6 100644
(file)
--- a/
tests/language/stats/rank.at
+++ b/
tests/language/stats/rank.at
@@
-595,12
+595,20
@@
RANK x
/RANK INTO foo bar wiz.
])
AT_CHECK([pspp -O format=csv rank.sps], [1], [dnl
/RANK INTO foo bar wiz.
])
AT_CHECK([pspp -O format=csv rank.sps], [1], [dnl
-rank.sps:15.1: error: RANK: Syntax error at end of command: expecting `@{:@'.
+"rank.sps:15.1: error: RANK: Syntax error expecting `@{:@'.
+ 15 | .
+ | ^"
-rank.sps:19.11: error: RANK: Syntax error at `d': Expected positive integer for NTILES.
+"rank.sps:19.11: error: RANK: Syntax error expecting positive integer for NTILES.
+ 19 | /NTILES(d)
+ | ^"
-rank.sps:25: error: RANK: Variable x already exists.
+"rank.sps:25.13: error: RANK: Variable x already exists.
+ 25 | /RANK INTO x.
+ | ^"
-rank.sps:30: error: RANK: Too many variables in INTO clause.
+"rank.sps:30.18-30.20: error: RANK: Too many variables in INTO clause.
+ 30 | /RANK INTO foo bar wiz.
+ | ^~~"
])
AT_CLEANUP
])
AT_CLEANUP