Examine tests: Remove leading slash from factor variables.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 3 Mar 2012 10:33:38 +0000 (11:33 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 3 Mar 2012 10:33:38 +0000 (11:33 +0100)
I haven't seen any examples of syntax which does this, and it leads to
ambiguities: Does /STATISTICS refer to the STATISTICS subcommand or to
a factor variable named "STATISTICS".  I think it's better therefore to
disallow a slash here.

tests/language/stats/examine.at

index 9bfa9c78ed5f952eeed35076df291924ec81a2d4..01bebeddbe082dc34e17992ed1b18c4040eb66d3 100644 (file)
@@ -549,7 +549,7 @@ DATA LIST FILE='large.txt' /S 1-2 (A) X 3 .
 AGGREGATE OUTFILE=* /BREAK=X /A=N.
 
 
-EXAMINE /A BY /X.
+EXAMINE /A BY X.
 ])
 AT_CHECK([pspp -o pspp.csv examine.sps])
 dnl Ignore output -- this is just a no-crash check.