From 6dd37780b67db26231c885b75111af1aff919584 Mon Sep 17 00:00:00 2001 From: Jonathan Morgan Date: Fri, 1 Nov 2024 16:25:31 +0000 Subject: [PATCH] Removes arbitrary limits from eqValues & eqArray --- framework/src/source/CommonUtils.bs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/framework/src/source/CommonUtils.bs b/framework/src/source/CommonUtils.bs index 3845120..974fb7f 100755 --- a/framework/src/source/CommonUtils.bs +++ b/framework/src/source/CommonUtils.bs @@ -645,11 +645,6 @@ namespace rooibos.common ' * @returns {boolean} - True if values are equal or False in other case. ' */ function eqValues(Value1, Value2, fuzzy = false, callCount = 0) as dynamic - if callCount > 10 - ? "REACHED MAX ITERATIONS DOING COMPARISON" - return true - end if - ' Workaraund for bug with string boxing, and box everything else val1Type = rooibos.common.getSafeType(Value1) val2Type = rooibos.common.getSafeType(Value2) @@ -769,10 +764,6 @@ namespace rooibos.common ' * @returns {boolean} - True if arrays are equal or False in other case. ' */ function eqArray(Value1, Value2, fuzzy = false, callCount = 0) as dynamic - if callCount > 30 - ? "REACHED MAX ITERATIONS DOING COMPARISON" - return true - end if if not (rooibos.common.isArray(Value1)) or not rooibos.common.isArray(Value2) return false end if