camunda / dmn-tck

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

1116-feel-time-function #32

Open saig0 opened 3 years ago

saig0 commented 3 years ago
Failed to parse FEEL expression 'time(12,00,00,null)': failed to parse expression 'time(12,00,00,null)': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(12,00,00,"
Failed to parse FEEL expression 'time(11, 59, 00, duration("PT2H1M"))': failed to parse expression 'time(11, 59, 00, duration("PT2H1M"))': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(11, 59, 0"
Failed to parse FEEL expression 'time(11, 59, 00, duration("-PT2H1M"))': failed to parse expression 'time(11, 59, 00, duration("-PT2H1M"))': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(11, 59, 0"
Failed to parse FEEL expression 'time(11, 59, 00, duration("PT2H1M0S"))': failed to parse expression 'time(11, 59, 00, duration("PT2H1M0S"))': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(11, 59, 0"
Failed to parse FEEL expression 'time(11, 59, 00, duration("-PT2H1M0S"))': failed to parse expression 'time(11, 59, 00, duration("-PT2H1M0S"))': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(11, 59, 0"
saig0 commented 3 years ago

Camunda runner

Executing test '1116-feel-time-function-test-01 / 015_376d693a79'
Test failure: Expected '12:00' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'time(12,00,00,null)': 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; | end-of-input):1:5, found &quot;(12,00,00,&quot;

Executing test '1116-feel-time-function-test-01 / 021_5c50fa1dff'
Test failure: Expected '23:59Z' but was 'ZonedTime(23:59,Z,None)'

Executing test '1116-feel-time-function-test-01 / 022_55e76d3595'
Test failure: Expected '11:00Z' but was 'ZonedTime(11:00,Z,None)'
...
saig0 commented 3 years ago

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