Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing error flag for matches() tests #648

Merged
merged 2 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<testCase id="fn-null-input">
<description>Evaluates "matches" function with null input</description>
<resultNode name="fn-null-input">
<resultNode name="fn-null-input" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -20,7 +20,7 @@

<testCase id="fn-null-pattern">
<description>Evaluates "matches" function with null pattern</description>
<resultNode name="fn-null-pattern">
<resultNode name="fn-null-pattern" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand Down Expand Up @@ -49,7 +49,7 @@

<testCase id="fn-matchesErr-1">
<description>Invalid flag for third argument of matches.</description>
<resultNode name="fn-matchesErr-1">
<resultNode name="fn-matchesErr-1" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand Down Expand Up @@ -208,7 +208,7 @@

<testCase id="K-MatchesFunc-1">
<description>The pattern can't be the empty sequence.</description>
<resultNode name="K-MatchesFunc-1">
<resultNode name="K-MatchesFunc-1" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -217,7 +217,7 @@

<testCase id="K-MatchesFunc-2">
<description>matches() takes at least two arguments, not one.</description>
<resultNode name="K-MatchesFunc-2">
<resultNode name="K-MatchesFunc-2" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -226,7 +226,7 @@

<testCase id="K-MatchesFunc-3">
<description>The third argument cannot be the empty sequence.</description>
<resultNode name="K-MatchesFunc-3">
<resultNode name="K-MatchesFunc-3" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -235,7 +235,7 @@

<testCase id="K-MatchesFunc-4">
<description>Only three arguments are accepted.</description>
<resultNode name="K-MatchesFunc-4">
<resultNode name="K-MatchesFunc-4" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -244,7 +244,7 @@

<testCase id="K-MatchesFunc-5">
<description>The flags argument cannot contain whitespace.</description>
<resultNode name="K-MatchesFunc-5">
<resultNode name="K-MatchesFunc-5" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -253,7 +253,7 @@

<testCase id="K-MatchesFunc-6">
<description>The flags argument cannot contain 'X'.</description>
<resultNode name="K-MatchesFunc-6">
<resultNode name="K-MatchesFunc-6" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand Down Expand Up @@ -318,7 +318,7 @@

<testCase id="K2-MatchesFunc-7">
<description>whitespace in the regexp is not collapsed, and should therefore not compile.</description>
<resultNode name="K2-MatchesFunc-7">
<resultNode name="K2-MatchesFunc-7" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -327,7 +327,7 @@

<testCase id="K2-MatchesFunc-8">
<description>Since no string is captured by the back-reference, the single character is matched.</description>
<resultNode name="K2-MatchesFunc-8">
<resultNode name="K2-MatchesFunc-8" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -337,7 +337,7 @@
<testCase id="K2-MatchesFunc-9">
<description>Since no string is captured by the back-reference, the single character is matched(#2).
</description>
<resultNode name="K2-MatchesFunc-9">
<resultNode name="K2-MatchesFunc-9" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -346,7 +346,7 @@

<testCase id="K2-MatchesFunc-10">
<description>A non-matching backwards-reference matches the empty string.</description>
<resultNode name="K2-MatchesFunc-10">
<resultNode name="K2-MatchesFunc-10" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -355,7 +355,7 @@

<testCase id="K2-MatchesFunc-11">
<description>Use a back reference inside a character class.</description>
<resultNode name="K2-MatchesFunc-11">
<resultNode name="K2-MatchesFunc-11" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -364,7 +364,7 @@

<testCase id="K2-MatchesFunc-12">
<description>Use a back reference inside a character class(#2).</description>
<resultNode name="K2-MatchesFunc-12">
<resultNode name="K2-MatchesFunc-12" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -373,7 +373,7 @@

<testCase id="K2-MatchesFunc-13">
<description>Use a back reference inside a character class(#3).</description>
<resultNode name="K2-MatchesFunc-13">
<resultNode name="K2-MatchesFunc-13" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand All @@ -382,7 +382,7 @@

<testCase id="K2-MatchesFunc-14">
<description>Use a back reference inside a character class(#3).</description>
<resultNode name="K2-MatchesFunc-14">
<resultNode name="K2-MatchesFunc-14" errorResult="true">
<expected>
<value xsi:nil="true"/>
</expected>
Expand Down
2 changes: 1 addition & 1 deletion runners/dmn-tck-runner-jdmn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<dependency>
<groupId>com.goldmansachs.jdmn</groupId>
<artifactId>jdmn-core</artifactId>
<version>8.2.0</version>
<version>8.2.1</version>
</dependency>
</dependencies>

Expand Down
Loading