From e16d70ccddf6ea62c7859da22940aebcd6ff3dd6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 1 Aug 2022 17:18:01 -0700 Subject: [PATCH] tests --- tests/language/stats/ctables.at | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/language/stats/ctables.at b/tests/language/stats/ctables.at index 1ea40840f0..c105cf67db 100644 --- a/tests/language/stats/ctables.at +++ b/tests/language/stats/ctables.at @@ -558,6 +558,23 @@ ctables.sps:100.52-100.56: error: CTABLES: Failed to parse category specification as format DATETIME: Day (123) must be between 1 and 31.. 100 | CTABLES /TABLE qn1 /CATEGORIES VARIABLES=datetime ['123']. | ^~~~~ + +ctables.sps:23: error: CTABLES: Summaries may appear only on one axis. + +ctables.sps:23.16-23.20: note: CTABLES: This variable on the rows axis has a +summary. + 23 | CTABLES /TABLE qn113 [COUNT] BY qn114 [COUNT] BY qn116 [COUNT]. + | ^~~~~ + +ctables.sps:23.33-23.37: note: CTABLES: This variable on the columns axis has a +summary. + 23 | CTABLES /TABLE qn113 [COUNT] BY qn114 [COUNT] BY qn116 [COUNT]. + | ^~~~~ + +ctables.sps:23.50-23.54: note: CTABLES: This variable on the layers axis has a +summary. + 23 | CTABLES /TABLE qn113 [COUNT] BY qn114 [COUNT] BY qn116 [COUNT]. + | ^~~~~ ]]) AT_CLEANUP -- 2.30.2