From a78a41910d76dcca3987941fbb52df8e5903be1f Mon Sep 17 00:00:00 2001 From: Octavian Patrascoiu Date: Mon, 25 Nov 2024 10:13:14 +0000 Subject: [PATCH] Change tests to match semantics in Section 10.3.2.14 For loop expression. --- .../0084-feel-for-loops-test-01.xml | 15 ++++----------- .../0084-feel-for-loops/0084-feel-for-loops.dmn | 4 ++-- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops-test-01.xml b/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops-test-01.xml index 798e816b7..7d47154a7 100644 --- a/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops-test-01.xml +++ b/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops-test-01.xml @@ -291,26 +291,19 @@ - a valid numeric range is permitted as iteration context + numeric range is not permitted as iteration domain - - 1 - 2 - + - a valid date range is permitted as iteration context + date range is not permitted as iteration domain - - 1980-01-01 - 1980-01-02 - 1980-01-03 - + diff --git a/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops.dmn b/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops.dmn index 38a97b941..d54908ad1 100644 --- a/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops.dmn +++ b/TestCases/compliance-level-3/0084-feel-for-loops/0084-feel-for-loops.dmn @@ -186,7 +186,7 @@ - + for i in [1..2] return i @@ -194,7 +194,7 @@ - + for i in [@"1980-01-01"..@"1980-01-03"] return i