Update test to include new warning 20130509010504/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 8 May 2013 07:42:00 +0000 (09:42 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 9 May 2013 07:06:46 +0000 (09:06 +0200)
tests/language/data-io/get-data-spreadsheet.at

index 28b9686c863b4b64efba5bc8b3bf3967633f8a8a..3ca0d8b93608f1c458e75ae1e1b029db48a966ed 100644 (file)
@@ -87,8 +87,7 @@ GET DATA /TYPE=$1 /FILE='testsheet' /SHEET=index 3.
 DISPLAY VARIABLES.
 LIST.
 ])
-AT_CHECK([pspp -o pspp.csv get-data.sps])
-AT_CHECK([cat pspp.csv], [0], [dnl
+AT_CHECK([pspp -O format=csv get-data.sps], [0], [dnl
 Variable,Description,,Position
 name,Format: A8,,1
 ,Measure: Nominal,,
@@ -103,6 +102,8 @@ height,Format: F8.2,,3
 ,Display Alignment: Right,,
 ,Display Width: 8,,
 
+warning: Cannot convert the value in the spreadsheet cell C4 to format (F8.2): Field contents are not numeric.
+
 Table: Data List
 name,id,height
 fred    ,.00,23.40