camunda / dmn-tck

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

1115-feel-date-function #31

Open saig0 opened 3 years ago

saig0 commented 3 years ago
Failed to parse FEEL expression 'date(null,02,null)': failed to parse expression 'date(null,02,null)': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(null,02,n"
Failed to parse FEEL expression 'date(2017,01,01)': failed to parse expression 'date(2017,01,01)': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(2017,01,0"
Failed to parse FEEL expression 'date(-2017,01,01)': failed to parse expression 'date(-2017,01,01)': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(-2017,01,"
Failed to parse FEEL expression 'date(-1000999999,12,01)': failed to parse expression 'date(-1000999999,12,01)': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "(-10009999"
Failed to parse FEEL expression 'date(year:2017,month:08,day:30)': failed to parse expression 'date(year:2017,month:08,day:30)': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | "," | ")"):1:23, found "8,day:30)"
saig0 commented 3 years ago

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

saig0 commented 3 years ago

Camunda runner:

Executing test '1115-feel-date-function-test-01 / 026_cedd7e5e5f'
Test failure: Expected '2017-01-01' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'date(2017,01,01)': 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;(2017,01,0&quot;

Executing test '1115-feel-date-function-test-01 / 028_35ca79a6cd'
Test failure: Expected '-2017-01-01' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'date(-2017,01,01)': 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;(-2017,01,&quot;

Executing test '1115-feel-date-function-test-01 / 052_63457d78b7'
Test failure: Expected '2017-08-30' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'date(year:2017,month:08,day:30)': 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; | &quot;)&quot;):1:23, found &quot;8,day:30)&quot;