fix inverted condition

This commit is contained in:
Florian Dold 2016-11-08 16:55:21 +01:00
parent 8ab029430c
commit 350367d399

View File

@ -88,7 +88,7 @@ export async function run() {
try { try {
await p; await p;
if (passed) { if (!passed) {
throw Error("test did not call 'pass'"); throw Error("test did not call 'pass'");
} }
console.log(`ok ${Number(i) + 1} ${lastMsg}`); console.log(`ok ${Number(i) + 1} ${lastMsg}`);