X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdictionary%2Fvariable-display.at;h=3bcbd8fc780308075a4e42940160dd34a08adaf5;hb=43f0e5bf6c53ee0ba31b259aab230861baa4eb7e;hp=f4d76eb94b4851675057868ffddf6bb1b2682768;hpb=f863b6025897457e1b61d043833e25a35a4c246e;p=pspp diff --git a/tests/language/dictionary/variable-display.at b/tests/language/dictionary/variable-display.at index f4d76eb94b..3bcbd8fc78 100644 --- a/tests/language/dictionary/variable-display.at +++ b/tests/language/dictionary/variable-display.at @@ -6,23 +6,27 @@ DATA LIST FREE /x y z. VARIABLE ALIGNMENT x (LEFT)/y (RIGHT)/z (CENTER). VARIABLE WIDTH x (10)/y (12)/z (14). VARIABLE LEVEL x (SCALE)/y (ORDINAL)/z (NOMINAL). +VARIABLE ROLE /TARGET x /BOTH y /NONE z. DISPLAY DICTIONARY. ]) AT_CHECK([pspp -o pspp.csv var-display.sps]) AT_CHECK([cat pspp.csv], [0], [dnl -Variable,Description,,Position -x,Format: F8.2,,1 -,Measure: Scale,, -,Display Alignment: Left,, -,Display Width: 10,, -y,Format: F8.2,,2 -,Measure: Ordinal,, -,Display Alignment: Right,, -,Display Width: 12,, -z,Format: F8.2,,3 -,Measure: Nominal,, -,Display Alignment: Center,, -,Display Width: 14,, +Variable,Description,Position +x,"Format: F8.2 +Measure: Scale +Role: Output +Display Alignment: Left +Display Width: 10",1 +y,"Format: F8.2 +Measure: Ordinal +Role: Both +Display Alignment: Right +Display Width: 12",2 +z,"Format: F8.2 +Measure: Nominal +Role: None +Display Alignment: Center +Display Width: 14",3 ]) AT_CLEANUP