From 36a47eb2bd3871f8a04da6da093b7d23196b4f86 Mon Sep 17 00:00:00 2001 From: Bryn Rhodes Date: Thu, 25 Jun 2026 09:53:32 -0600 Subject: [PATCH] #118: Corrected tests for list membership --- tests/cql/CqlListOperatorsTest.xml | 32 ++++++++++++++---------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/tests/cql/CqlListOperatorsTest.xml b/tests/cql/CqlListOperatorsTest.xml index f765522..f7d63bf 100644 --- a/tests/cql/CqlListOperatorsTest.xml +++ b/tests/cql/CqlListOperatorsTest.xml @@ -475,10 +475,9 @@ null as List<Integer> includes {2} null - - {'s', 'a', 'm'} includes null + {'s', 'a', 'm'} includes null as List<String> null @@ -529,10 +528,9 @@ @T16:59:59.999 included in { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } false - - null included in {2} + null as List<Integer> included in {2} null @@ -868,17 +866,17 @@ - {'s', 'u', 'n'} properly includes null + {'s', 'u', 'n'} properly includes null as String false { null, null } properly includes null as String - false + true - {'s', 'u', 'n', null} properly includes null + {'s', 'u', 'n', null} properly includes null as String true @@ -889,7 +887,7 @@ { 'a', 'a' } properly includes 'a' - false + true @@ -899,7 +897,7 @@ { 'a', null } properly includes 'a' - null + true @@ -914,7 +912,7 @@ { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } properly includes @T15:59:59 - null + false @@ -941,13 +939,13 @@ - null properly included in {'s', 'u', 'n'} + null as String properly included in {'s', 'u', 'n'} false null as String properly included in { null, null } - false + true @@ -962,7 +960,7 @@ 'a' properly included in { 'a', 'a' } - false + true @@ -972,7 +970,7 @@ 'a' properly included in { 'a', null } - null + true @@ -987,7 +985,7 @@ @T15:59:59 properly included in { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } - null + false @@ -1039,7 +1037,7 @@ - null properly includes {2} + null as List<Integer> properly includes {2} null @@ -1092,7 +1090,7 @@ - {'s', 'u', 'n'} properly included in null + {'s', 'u', 'n'} properly included in null as List<String> null