camunda / dmn-tck

Decision Model and Notation Technology Compatibility Kit
0 stars 1 forks source link

0072-feel-in #12

Open saig0 opened 3 years ago

saig0 commented 3 years ago
Failed to parse FEEL expression '1 in [[2..4], [1..3]]': failed to parse expression '1 in [[2..4], [1..3]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:13, found ", [1..3]]"
Failed to parse FEEL expression '5 in [[2..4], [1..3]]': failed to parse expression '5 in [[2..4], [1..3]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:13, found ", [1..3]]"
Failed to parse FEEL expression '"b" in [["f".."h"], ["a".."c"]]': failed to parse expression '"b" in [["f".."h"], ["a".."c"]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:19, found ", [\"a\"..\"c"
Failed to parse FEEL expression '"i" in [["f".."h"], ["a".."c"]]': failed to parse expression '"i" in [["f".."h"], ["a".."c"]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:19, found ", [\"a\"..\"c"
Failed to parse FEEL expression 'date("2018-12-11") in [[date("2018-12-05") .. date("2018-12-07")], [date("2018-12-10") .. date("2018-12-12")]]': failed to parse expression 'date("2018-12-11") in [[date("2018-12-05") .. date("2018-12-07")], [date("2018-12-10") .. date("2018-12-12")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:66, found ", [date(\"2"
Failed to parse FEEL expression 'date("2018-12-04") in [[date("2018-12-05") .. date("2018-12-07")], [date("2018-12-10") .. date("2018-12-12")]]': failed to parse expression 'date("2018-12-04") in [[date("2018-12-05") .. date("2018-12-07")], [date("2018-12-10") .. date("2018-12-12")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:66, found ", [date(\"2"
Failed to parse FEEL expression 'time("10:30:11") in [[time("10:30:05") .. time("10:30:07")], [time("10:30:10") .. time("10:30:12")]]': failed to parse expression 'time("10:30:11") in [[time("10:30:05") .. time("10:30:07")], [time("10:30:10") .. time("10:30:12")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:60, found ", [time(\"1"
Failed to parse FEEL expression 'time("10:30:04") in [[time("10:30:05") .. time("10:30:07")], [time("10:30:10") .. time("10:30:12")]]': failed to parse expression 'time("10:30:04") in [[time("10:30:05") .. time("10:30:07")], [time("10:30:10") .. time("10:30:12")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:60, found ", [time(\"1"
Failed to parse FEEL expression 'date and time("2018-12-08T10:30:11") in [[date and time("2018-12-08T10:30:05") .. date and time("2018-12-08T10:30:07")], [date and time("2018-12-08T10:30:10") .. date and time("2018-12-08T10:30:12")]]': failed to parse expression 'date and time("2018-12-08T10:30:11") in [[date and time("2018-12-08T10:30:05") .. date and time("2018-12-08T10:30:07")], [date and time("2018-12-08T10:30:10") .. date and time("2018-12-08T10:30:12")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:120, found ", [date an"
Failed to parse FEEL expression 'date and time("2018-12-08T10:30:04") in [[date and time("2018-12-08T10:30:05") .. date and time("2018-12-08T10:30:07")], [date and time("2018-12-08T10:30:10") .. date and time("2018-12-08T10:30:12")]]': failed to parse expression 'date and time("2018-12-08T10:30:04") in [[date and time("2018-12-08T10:30:05") .. date and time("2018-12-08T10:30:07")], [date and time("2018-12-08T10:30:10") .. date and time("2018-12-08T10:30:12")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:120, found ", [date an"
Failed to parse FEEL expression 'duration("P11Y") in [[duration("P5Y") .. duration("P7Y")], [duration("P10Y") .. duration("P12Y")]]': failed to parse expression 'duration("P11Y") in [[duration("P5Y") .. duration("P7Y")], [duration("P10Y") .. duration("P12Y")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:58, found ", [duratio"
Failed to parse FEEL expression 'duration("P4Y") in [[duration("P5Y") .. duration("P7Y")], [duration("P10Y") .. duration("P12Y")]]': failed to parse expression 'duration("P4Y") in [[duration("P5Y") .. duration("P7Y")], [duration("P10Y") .. duration("P12Y")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:57, found ", [duratio"
Failed to parse FEEL expression 'duration("P11D") in [[duration("P5D") .. duration("P7D")], [duration("P10D") .. duration("P12D")]]': failed to parse expression 'duration("P11D") in [[duration("P5D") .. duration("P7D")], [duration("P10D") .. duration("P12D")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:58, found ", [duratio"
Failed to parse FEEL expression 'duration("P4D") in [[duration("P5D") .. duration("P7D")], [duration("P10D") .. duration("P12D")]]': failed to parse expression 'duration("P4D") in [[duration("P5D") .. duration("P7D")], [duration("P10D") .. duration("P12D")]]': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | ".."):1:57, found ", [duration"
saig0 commented 3 years ago

Camunda runner:

Executing test '0072-feel-in-test-01 / number_002'
Test failure: Expected 'true' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression '1 in [[2..4], [1..3]]': Expected (StringIn(&quot;<=&quot;, &quot;>=&quot;, &quot;<&quot;, &quot;>&quot;, &quot;!=&quot;, &quot;=&quot;) | &quot;between&quot; | &quot;in&quot; | &quot;and&quot; | &quot;or&quot; | &quot;..&quot;):1:13, found &quot;, [1..3]]&quot;

Executing test '0072-feel-in-test-01 / number_002_a'
Test failure: Expected 'false' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression '5 in [[2..4], [1..3]]': Expected (StringIn(&quot;<=&quot;, &quot;>=&quot;, &quot;<&quot;, &quot;>&quot;, &quot;!=&quot;, &quot;=&quot;) | &quot;between&quot; | &quot;in&quot; | &quot;and&quot; | &quot;or&quot; | &quot;..&quot;):1:13, found &quot;, [1..3]]&quot;

Executing test '0072-feel-in-test-01 / string_002'
Test failure: Expected 'true' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression '&quot;b&quot; in [[&quot;f&quot;..&quot;h&quot;], [&quot;a&quot;..&quot;c&quot;]]': Expected (StringIn(&quot;<=&quot;, &quot;>=&quot;, &quot;<&quot;, &quot;>&quot;, &quot;!=&quot;, &quot;=&quot;) | &quot;between&quot; | &quot;in&quot; | &quot;and&quot; | &quot;or&quot; | &quot;..&quot;):1:19, found &quot;, [\&quot;a\&quot;..\&quot;c&quot;

Executing test '0072-feel-in-test-01 / string_002_a'
Test failure: Expected 'false' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression '&quot;i&quot; in [[&quot;f&quot;..&quot;h&quot;], [&quot;a&quot;..&quot;c&quot;]]': Expected (StringIn(&quot;<=&quot;, &quot;>=&quot;, &quot;<&quot;, &quot;>&quot;, &quot;!=&quot;, &quot;=&quot;) | &quot;between&quot; | &quot;in&quot; | &quot;and&quot; | &quot;or&quot; | &quot;..&quot;):1:19, found &quot;, [\&quot;a\&quot;..\&quot;c&quot;

...
saig0 commented 3 years ago

https://github.com/camunda/feel-scala/issues/159