projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use lex_error_expecting() in more places.
[pspp]
/
tests
/
language
/
command.at
diff --git
a/tests/language/command.at
b/tests/language/command.at
index 71e50819e0307f1e5cdc97a50c654063d9634b2a..562c69b1304e22d306058eb4f1b3c028ded84711 100644
(file)
--- a/
tests/language/command.at
+++ b/
tests/language/command.at
@@
-78,7
+78,9
@@
set safer on
erase FILE='foobar'.
])
AT_CHECK([pspp -O format=csv erase.sps], [1], [dnl
erase FILE='foobar'.
])
AT_CHECK([pspp -O format=csv erase.sps], [1], [dnl
-erase.sps:3: error: ERASE: This command not allowed when the SAFER option is set.
+"erase.sps:3.1-3.5: error: ERASE: This command not allowed when the SAFER option is set.
+ 3 | erase FILE='foobar'.
+ | ^~~~~"
])
AT_CHECK([cat foobar], [0], [contents
])
])
AT_CHECK([cat foobar], [0], [contents
])