Skip to content

Commit

Permalink
Small optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Feb 24, 2024
1 parent 3a8360b commit dca72d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tester/src/exec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ impl Test {
result.no_strict =
Some(self.run_once(harness, false, verbose, optimizer_options, console));
} else {
if self.flags.contains(TestFlags::STRICT) && !self.flags.contains(TestFlags::RAW) {
if self.flags.contains(TestFlags::STRICT) {
result.strict =
Some(self.run_once(harness, true, verbose, optimizer_options, console));
}

if self.flags.contains(TestFlags::NO_STRICT) || self.flags.contains(TestFlags::RAW) {
if self.flags.contains(TestFlags::NO_STRICT) {
result.no_strict =
Some(self.run_once(harness, false, verbose, optimizer_options, console));
}
Expand Down

0 comments on commit dca72d4

Please sign in to comment.