Skip to content

Commit 9ba1fda

Browse files
Merge pull request #896 from koralowiec/fix/test-library-script-increment
fix: change increment syntax in test library script
2 parents 95f0ce4 + ccf60bd commit 9ba1fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec-node/featuresCLI/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ checkMultiple() {
9898
shift; MINIMUMPASSED=$1
9999
shift; EXPRESSION="$1"
100100
while [ "$EXPRESSION" != "" ]; do
101-
if $EXPRESSION; then ((PASSED++)); fi
101+
if $EXPRESSION; then ((PASSED+=1)); fi
102102
shift; EXPRESSION=$1
103103
done
104104
if [ $PASSED -ge $MINIMUMPASSED ]; then

0 commit comments

Comments
 (0)