Skip to content

Commit

Permalink
Merge 65c41ad into 4557276
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech authored Sep 28, 2023
2 parents 4557276 + 65c41ad commit 703dd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/test/spec/presets/fork_choice.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const forkChoiceTest =
});
if (!isValid) throw Error("Expect error since this is a negative test");
} catch (e) {
if (isValid) throw e;
if (isValid || (e as Error).message === "Expect error since this is a negative test") throw e;
}
}

Expand Down

0 comments on commit 703dd81

Please sign in to comment.