From ccf60bda743d972aed3460a4e3e090ca42c15666 Mon Sep 17 00:00:00 2001 From: koralowiec <36413794+koralowiec@users.noreply.github.com> Date: Sun, 15 Sep 2024 14:31:14 +0000 Subject: [PATCH] fix: change increment syntax in test library script --- src/spec-node/featuresCLI/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec-node/featuresCLI/utils.ts b/src/spec-node/featuresCLI/utils.ts index 6397c1c1..d72cb170 100644 --- a/src/spec-node/featuresCLI/utils.ts +++ b/src/spec-node/featuresCLI/utils.ts @@ -98,7 +98,7 @@ checkMultiple() { shift; MINIMUMPASSED=$1 shift; EXPRESSION="$1" while [ "$EXPRESSION" != "" ]; do - if $EXPRESSION; then ((PASSED++)); fi + if $EXPRESSION; then ((PASSED+=1)); fi shift; EXPRESSION=$1 done if [ $PASSED -ge $MINIMUMPASSED ]; then