SET: Improve error messages for SET CCx.
[pspp] / tests / language / utilities / set.at
index 2103f2e96d5de3bfe24a5daed42f10792170bb27..c4165dc27d340bbff86718669c40091d313b059c 100644 (file)
@@ -48,7 +48,11 @@ AT_DATA([set.pspp], [dnl
 SET CCA='xxxx'.SHGW CCA.
 ])
 
-AT_CHECK([pspp -O format=csv set.pspp], [1], [ignore])
+AT_CHECK([pspp -O format=csv set.pspp], [1], [dnl
+"set.pspp:1.9-1.14: error: SET: Custom currency string `CCA' for xxxx does not contain exactly three periods or commas (or it contains both).
+    1 | SET CCA='xxxx'.SHGW CCA.
+      |         ^~~~~~"
+])
 AT_CLEANUP