Skip to content

Commit

Permalink
Change tests to reflect intention expressed in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
opatrascoiu committed Nov 15, 2024
1 parent a967d57 commit 5c85626
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -705,16 +705,16 @@
<description>same datetimes, one with offset and the other with zone are equal</description>
<resultNode name="datetime_008" type="decision">
<expected>
<value xsi:type="xsd:boolean">false</value>
<value xsi:type="xsd:boolean">true</value>
</expected>
</resultNode>
</testCase>

<testCase id="datetime_008_a">
<description>same datetimes, one with offset and the other with zone are equal - DST</description>
<resultNode name="datetime_008" type="decision">
<resultNode name="datetime_008_a" type="decision">
<expected>
<value xsi:type="xsd:boolean">false</value>
<value xsi:type="xsd:boolean">true</value>
</expected>
</resultNode>
</testCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -781,12 +781,12 @@
<!-- </decision>-->

<decision name="datetime_008" id="_datetime_008">
<description>Tests FEEL expression: 'date and time("2018-10-08T00:00:00+01:00") = date and time("2018-10-08T00:00:00@Europe/Paris")' and expects result: 'true (boolean)'</description>
<question>Result of FEEL expression 'date and time("2018-10-08T00:00:00+01:00") = date and time("2018-10-08T00:00:00@Europe/Paris")'?</question>
<allowedAnswers>false (boolean)</allowedAnswers>
<description>Tests FEEL expression: 'date and time("2018-10-08T00:00:00+02:00") = date and time("2018-10-08T00:00:00@Europe/Paris")' and expects result: 'true (boolean)'</description>
<question>Result of FEEL expression 'date and time("2018-10-08T00:00:00+02:00") = date and time("2018-10-08T00:00:00@Europe/Paris")'?</question>
<allowedAnswers>true (boolean)</allowedAnswers>
<variable name="datetime_008"/>
<literalExpression>
<text>date and time("2018-10-08T00:00:00+01:00") = date and time("2018-10-08T00:00:00@Europe/Paris")</text>
<text>date and time("2018-10-08T00:00:00+02:00") = date and time("2018-10-08T00:00:00@Europe/Paris")</text>
</literalExpression>
</decision>

Expand All @@ -796,7 +796,7 @@
<allowedAnswers>true (boolean)</allowedAnswers>
<variable name="datetime_008_a"/>
<literalExpression>
<text>date and time("2018-02-08T00:00:00+02:00") = date and time("2018-02-08T00:00:00@Europe/Paris")</text>
<text>date and time("2018-02-08T00:00:00+01:00") = date and time("2018-02-08T00:00:00@Europe/Paris")</text>
</literalExpression>
</decision>

Expand Down

0 comments on commit 5c85626

Please sign in to comment.