Assorted improvements to diagnostics.
[pspp] / tests / language / command.at
index 71e50819e0307f1e5cdc97a50c654063d9634b2a..562c69b1304e22d306058eb4f1b3c028ded84711 100644 (file)
@@ -78,7 +78,9 @@ set safer on
 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
 ])