Fix crash when parsing a badly formatted variable string.
[pspp] / tests / language / stats / correlations.at
index df00e67723f75278c3b83b5d39e5c1af238a3ac5..1662ee7499673dd8e41cee50f081470859932ded 100644 (file)
@@ -1,16 +1,16 @@
 dnl PSPP - a program for statistical analysis.
 dnl Copyright (C) 2017 Free Software Foundation, Inc.
-dnl 
+dnl
 dnl This program is free software: you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation, either version 3 of the License, or
 dnl (at your option) any later version.
-dnl 
+dnl
 dnl This program is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
-dnl 
+dnl
 dnl You should have received a copy of the GNU General Public License
 dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
 dnl
@@ -31,19 +31,19 @@ begin data.
 5   3   0   .
 end data.
 
-correlations 
+correlations
        variables = foo bar wiz bang
        /print nosig
        /missing = listwise
        .
 
-correlations 
+correlations
        variables = bar wiz
        /print nosig
        /missing = listwise
        .
 
-correlations 
+correlations
        variables = foo bar wiz bang
        /print nosig
        /missing = pairwise
@@ -107,7 +107,7 @@ end data.
 
 weight by w.
 
-correlations 
+correlations
        variables = foo bar wiz bang
        /statistics=descriptives xprod
        .
@@ -129,7 +129,7 @@ end data.
 
 weight by w.
 
-correlations 
+correlations
        variables = foo bar wiz bang
        /statistics=descriptives xprod
        .
@@ -146,14 +146,14 @@ set format = F11.3.
 data list notable list /foo * bar * wiz *.
 begin data.
 1 1 6
-2 2 5 
+2 2 5
 3 3 4
 4 4 3
 5 5 2
 6 6 1
 end data.
 
-correlations 
+correlations
        variables = foo with bar wiz
        .
 ])