From: John Darrington <john@darrington.wattle.id.au>
Date: Sat, 3 Mar 2012 10:33:38 +0000 (+0100)
Subject: Examine tests: Remove leading slash from factor variables.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34056dd7856c2a788f74bed86b2a258886f5eef5;p=pspp

Examine tests: Remove leading slash from factor variables.

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.
---

diff --git a/tests/language/stats/examine.at b/tests/language/stats/examine.at
index 9bfa9c78ed..01bebeddbe 100644
--- a/tests/language/stats/examine.at
+++ b/tests/language/stats/examine.at
@@ -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.