DO IF test: Correct expected outcome 20120420030504/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 19 Apr 2012 19:14:54 +0000 (21:14 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 19 Apr 2012 19:14:54 +0000 (21:14 +0200)
Commit 27bd188495ec1a6085354b10545daba47771b517 added a test for an
error condition in DO IF, but appears to contain some cut and paste
errors.  This change corrects them.

tests/language/control/do-if.at

index 9f1457cce7646925c146915f7fdb088210921330..2136c9b5668f0c48afd329d09505a267f4c9b0e9 100644 (file)
@@ -54,7 +54,7 @@ AT_DATA([do-if.sps], [dnl
 DATA LIST LIST NOTABLE/a b c.
 END IF.
 ])
-AT_CHECK([pspp -O format=csv do-if.sps], [0], [dnl
-do-if.pspp:2: error: END IF: This command cannot appear outside DO IF...END IF.
+AT_CHECK([pspp -O format=csv do-if.sps], [1], [dnl
+do-if.sps:2: error: END IF: This command cannot appear outside DO IF...END IF.
 ])
 AT_CLEANUP