Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Oct 19, 2023
1 parent beb7d13 commit 3e22036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa_tester/src/exec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ impl Test {
let dyn_loader: &dyn ModuleLoader = loader;
let context = &mut Context::builder()
.module_loader(dyn_loader)
.can_block(self.flags.contains(TestFlags::CAN_BLOCK_IS_TRUE))
.can_block(!self.flags.contains(TestFlags::CAN_BLOCK_IS_FALSE))
.build()
.expect("cannot fail with default global object");

Expand Down Expand Up @@ -445,7 +445,7 @@ impl Test {
let dyn_loader: &dyn ModuleLoader = loader;
let context = &mut Context::builder()
.module_loader(dyn_loader)
.can_block(self.flags.contains(TestFlags::CAN_BLOCK_IS_TRUE))
.can_block(!self.flags.contains(TestFlags::CAN_BLOCK_IS_FALSE))
.build()
.expect("cannot fail with default global object");
context.strict(strict);
Expand Down

0 comments on commit 3e22036

Please sign in to comment.