Remove usage of ++ outside of for loops update

The usage of postfix ++ is somewhat obscure in its meaning.  It's better
to be explicit here.
This commit is contained in:
Hornwitser committed 2020-11-07 18:16:24 +01:00
1 parent 3ce32ba870
commit 5337280eec
8 files changed
+21 -14

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ describe("global_chat plugin", function() {
instancePlugin.instance.connector.sentMessages = [];
await instancePlugin.onOutput(output);
assert(instancePlugin.instance.connector.sentMessages.length, "message was not sent");
count++;
count += 1;
}
}
assert(count > 0, "no lines were tested");
@@ -58,7 +58,7 @@ describe("global_chat plugin", function() {
instancePlugin.instance.connector.sentMessages = [];
await instancePlugin.onOutput(output);
assert(!instancePlugin.instance.connector.sentMessages.length, "message was sent");
count++;
count += 1;
}
}
assert(count > 0, "no lines were tested");