fix inverted condition
This commit is contained in:
parent
8ab029430c
commit
350367d399
@ -88,7 +88,7 @@ export async function run() {
|
||||
|
||||
try {
|
||||
await p;
|
||||
if (passed) {
|
||||
if (!passed) {
|
||||
throw Error("test did not call 'pass'");
|
||||
}
|
||||
console.log(`ok ${Number(i) + 1} ${lastMsg}`);
|
||||
|
Loading…
Reference in New Issue
Block a user