camunda / dmn-tck

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

0095-feel-day-of-year-function #27

Open saig0 opened 3 years ago

saig0 commented 3 years ago
Failed to parse FEEL expression 'day of year(@"1970-01-01")': failed to parse expression 'day of year(@"1970-01-01")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
Failed to parse FEEL expression 'day of year(@"2019-12-31")': failed to parse expression 'day of year(@"2019-12-31")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
Failed to parse FEEL expression 'day of year(@"2020-12-31")': failed to parse expression 'day of year(@"2020-12-31")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
Failed to parse FEEL expression 'day of year(@"2019-09-17")': failed to parse expression 'day of year(@"2019-09-17")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
Failed to parse FEEL expression 'day of year(date: @"2019-09-17")': failed to parse expression 'day of year(date: @"2019-09-17")': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:19, found "@\"2019-09-"
Failed to parse FEEL expression 'day of year(@"1970-01-01T10:10:10")': failed to parse expression 'day of year(@"1970-01-01T10:10:10")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
Failed to parse FEEL expression 'day of year(@"2019-12-31T10:10:10")': failed to parse expression 'day of year(@"2019-12-31T10:10:10")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
Failed to parse FEEL expression 'day of year(@"2020-12-31T10:10:10")': failed to parse expression 'day of year(@"2020-12-31T10:10:10")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
Failed to parse FEEL expression 'day of year(date: @"2019-09-17T10:10:10")': failed to parse expression 'day of year(date: @"2019-09-17T10:10:10")': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:19, found "@\"2019-09-"
Failed to parse FEEL expression 'day of year(value: @"1970-01-01")': failed to parse expression 'day of year(value: @"1970-01-01")': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:20, found "@\"1970-01-"
Failed to parse FEEL expression 'day of year(@"1970-01-01", @"1970-01-01")': failed to parse expression 'day of year(@"1970-01-01", @"1970-01-01")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:5, found "of year(@\""
saig0 commented 3 years ago

Camunda runner:

Executing test '0095-feel-day-of-year-function-test-01 / date_001'
Test failure: Expected '1' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'day of year(@&quot;1970-01-01&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; | end-of-input):1:5, found &quot;of year(@\&quot;&quot;

Executing test '0095-feel-day-of-year-function-test-01 / date_002'
Test failure: Expected '365' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'day of year(@&quot;2019-12-31&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; | end-of-input):1:5, found &quot;of year(@\&quot;&quot;

Executing test '0095-feel-day-of-year-function-test-01 / date_003'
Test failure: Expected '366' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'day of year(@&quot;2020-12-31&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; | end-of-input):1:5, found &quot;of year(@\&quot;&quot;

...
saig0 commented 3 years ago

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