SYSFILE INFO: Improve output formatting by using nested tables.
[pspp] / tests / language / dictionary / formats.at
index 4bdf089f782bc9fadae2250dcfbba2a37bfdd7e3..b1364f76f59434e6acebb94c7f3436383bab2008 100644 (file)
@@ -4,9 +4,9 @@ AT_SETUP([FORMATS positive tests])
 AT_DATA([formats.sps], [dnl
 DATA LIST LIST /a b c * x (A1) y (A2) z (A3).
 DISPLAY VARIABLES.
-FORMATS a (COMMA10) b (N4).
+FORMATS /a (COMMA10) b (N4).
 DISPLAY VARIABLES.
-FORMATS c (E8.1) x (A1) y (AHEX4) z (A3).
+FORMATS c (E8.1) x (A1) /y (AHEX4) z (A3).
 DISPLAY VARIABLES.
 ])
 AT_CHECK([pspp -o pspp.csv formats.sps])
@@ -20,29 +20,29 @@ x,A1
 y,A2
 z,A3
 
-Variable,Description,,Position
-a,Format: F8.2,,1
-b,Format: F8.2,,2
-c,Format: F8.2,,3
-x,Format: A1,,4
-y,Format: A2,,5
-z,Format: A3,,6
+Variable,Description,Position
+a,Format: F8.2,1
+b,Format: F8.2,2
+c,Format: F8.2,3
+x,Format: A1,4
+y,Format: A2,5
+z,Format: A3,6
 
-Variable,Description,,Position
-a,Format: COMMA10.0,,1
-b,Format: N4.0,,2
-c,Format: F8.2,,3
-x,Format: A1,,4
-y,Format: A2,,5
-z,Format: A3,,6
+Variable,Description,Position
+a,Format: COMMA10.0,1
+b,Format: N4.0,2
+c,Format: F8.2,3
+x,Format: A1,4
+y,Format: A2,5
+z,Format: A3,6
 
-Variable,Description,,Position
-a,Format: COMMA10.0,,1
-b,Format: N4.0,,2
-c,Format: E8.1,,3
-x,Format: A1,,4
-y,Format: AHEX4,,5
-z,Format: A3,,6
+Variable,Description,Position
+a,Format: COMMA10.0,1
+b,Format: N4.0,2
+c,Format: E8.1,3
+x,Format: A1,4
+y,Format: AHEX4,5
+z,Format: A3,6
 ])
 AT_CLEANUP