Skip to content

Commit 1e271f3

Browse files
authored
Merge pull request #102 from bryantaustin13/fixListIntegerVsString
changed tests for Integer vs Sting list compares
2 parents dd6d375 + d088029 commit 1e271f3

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/cql/CqlListOperatorsTest.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,17 +194,17 @@
194194
</test>
195195
<test name="EqualABCAnd123" version="1.0">
196196
<capability code="list-operators" />
197-
<expression>{ 'a', 'b', 'c' } = { 1, 2, 3 }</expression>
197+
<expression>{ 'a', 'b', 'c' } as List&lt;Any&gt; ~ { 1, 2, 3 } as List&lt;Any&gt;</expression>
198198
<output>false</output>
199199
</test>
200200
<test name="Equal123AndABC" version="1.0">
201201
<capability code="list-operators" />
202-
<expression>{ 1, 2, 3 } = { 'a', 'b', 'c' }</expression>
202+
<expression>{ 1, 2, 3 } as List&lt;Any&gt; = { 'a', 'b', 'c' } as List&lt;Any&gt;</expression>
203203
<output>false</output>
204204
</test>
205205
<test name="Equal123AndString123" version="1.0">
206206
<capability code="list-operators" />
207-
<expression>{ 1, 2, 3 } = { '1', '2', '3' }</expression>
207+
<expression>{ 1, 2, 3 } as List&lt;Any&gt; = { '1', '2', '3' } as List&lt;Any&gt;</expression>
208208
<output>false</output>
209209
</test>
210210
<test name="Equal12And123" version="1.0">
@@ -741,19 +741,19 @@
741741
</test>
742742
<test name="EquivalentABCAnd123" version="1.0">
743743
<capability code="list-operators" />
744-
<expression>{ 'a', 'b', 'c' } ~ { 1, 2, 3 }</expression>
744+
<expression>{ 'a', 'b', 'c' } as List&lt;Any&gt; ~ { 1, 2, 3 } as List&lt;Any&gt;</expression>
745745
<output>false</output>
746746
<!-- TODO: make Translator resolve isolated Equivalent operator signatures -->
747747
</test>
748748
<test name="Equivalent123AndABC" version="1.0">
749749
<capability code="list-operators" />
750-
<expression>{ 1, 2, 3 } ~ { 'a', 'b', 'c' }</expression>
750+
<expression>{ 1, 2, 3 } as List&lt;Any&gt; ~ { 'a', 'b', 'c' } as List&lt;Any&gt;</expression>
751751
<output>false</output>
752752
<!-- TODO: make Translator resolve isolated Equivalent operator signatures -->
753753
</test>
754754
<test name="Equivalent123AndString123" version="1.0">
755755
<capability code="list-operators" />
756-
<expression>{ 1, 2, 3 } ~ { '1', '2', '3' }</expression>
756+
<expression>{ 1, 2, 3 } as List&lt;Any&gt; ~ { '1', '2', '3' } as List&lt;Any&gt;</expression>
757757
<output>false</output>
758758
<!-- TODO: make Translator resolve isolated Equivalent operator signatures -->
759759
</test>
@@ -807,19 +807,19 @@
807807
</test>
808808
<test name="NotEqualABCAnd123" version="1.0">
809809
<capability code="list-operators" />
810-
<expression>{ 'a', 'b', 'c' } != { 1, 2, 3 }</expression>
810+
<expression>{ 'a', 'b', 'c' } as List&lt;Any&gt; != { 1, 2, 3 } as List&lt;Any&gt;</expression>
811811
<output>true</output>
812812
<!-- TODO: make Translator resolve isolated Equivalent operator signatures -->
813813
</test>
814814
<test name="NotEqual123AndABC" version="1.0">
815815
<capability code="list-operators" />
816-
<expression>{ 1, 2, 3 } != { 'a', 'b', 'c' }</expression>
816+
<expression>{ 1, 2, 3 } as List&lt;Any&gt; != { 'a', 'b', 'c' } as List&lt;Any&gt;</expression>
817817
<output>true</output>
818818
<!-- TODO: make Translator resolve isolated Equivalent operator signatures -->
819819
</test>
820820
<test name="NotEqual123AndString123" version="1.0">
821821
<capability code="list-operators" />
822-
<expression>{ 1, 2, 3 } != { '1', '2', '3' }</expression>
822+
<expression>{ 1, 2, 3 } as List&lt;Any&gt; != { '1', '2', '3' } as List&lt;Any&gt;</expression>
823823
<output>true</output>
824824
<!-- TODO: make Translator resolve isolated Equivalent operator signatures -->
825825
</test>

0 commit comments

Comments
 (0)