SORT VARIABLES: Improve error messages.
[pspp] / tests / language / control / define.at
index e528509b1e8bfe344aa0dc9a4ff6f933faa39ec4..fb66b01378429a2984e717d945d1b5e07ab18513 100644 (file)
@@ -1737,7 +1737,8 @@ $command prefix !paste foo bar suffix.
 SHOW $command.
 EOF
     cat >expout <<EOF
-title.sps:5: note: SHOW: $command is prefix foobar suffix.
+Table: Settings
+$command,prefix foobar suffix
 EOF
     AT_CHECK([pspp -O format=csv title.sps], [0], [expout])
 done
@@ -1790,8 +1791,10 @@ x'123'
 !ENDDEFINE.
 ])
 AT_CHECK([pspp define.sps], [1], [dnl
-define.sps:3: error: DEFINE: String of hex digits has 3 characters, which is
-not a multiple of 2.
+define.sps:2.1-2.6: error: DEFINE: String of hex digits has 3 characters, which
+is not a multiple of 2.
+    2 | x'123'
+      | ^~~~~~
 ])
 AT_CLEANUP