Skip to content

Commit e6591cc

Browse files
committed
flip the gcUntil condition
Signed-off-by: Balakrishna Avulapati <ba@bavulapati.com>
1 parent 3aab512 commit e6591cc

File tree

1 file changed

+1
-1
lines changed
  • tests/js-native-api/test_reference

1 file changed

+1
-1
lines changed

tests/js-native-api/test_reference/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,5 @@ for (let i = 0; i < 1000; i++) {
165165
const wrapObject = new Object();
166166
test_reference.validateDeleteBeforeFinalize(wrapObject);
167167
let gcCount = 1;
168-
gcUntil("test", () => gcCount-- > 0);
168+
gcUntil("test", () => gcCount-- <= 0);
169169
}

0 commit comments

Comments
 (0)