Enable case insensitivity test.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 13 Mar 2016 12:19:10 +0000 (13:19 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 13 Mar 2016 12:19:10 +0000 (13:19 +0100)
The operative part of this test seemed to have been inadvertently omitted.

tests/data/dictionary.at

index ef62c664f83d58adfb75a42944207ff6efa15c13..85ea5281bc4d451e629d5faa60e54df15d79581f 100644 (file)
@@ -11,4 +11,22 @@ RENAME VARIABLE (aèiöu=AÈIÖU).
 LIST.
 RENAME VARIABLE (aeiou=aèiöu).
 ])
+
+AT_CHECK([pspp -O format=csv dictionary.sps],[1],
+[Table: Reading free-form data from INLINE.
+Variable,Format
+aèiöu,F8.0
+aeiou,F8.0
+
+Table: Data List
+aèiöu
+1.00
+
+Table: Data List
+AÈIÖU,aeiou
+1.00,2.00
+
+dictionary.sps:8: error: RENAME VARIABLES: Renaming would duplicate variable name aèiöu.
+])
+
 AT_CLEANUP