Skip to content

Commit

Permalink
Remove accidentally copied lines from check_floats
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Feb 8, 2025
1 parent ec185d7 commit 897e841
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions on-target-tests/tests/multicore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,8 @@ mod tests {
fn check_floats() {
super::STATE.store(3, Ordering::Release);
super::calculations();
// if calculations fail on core1, the test case will hang here:
while super::STATE.load(Ordering::Acquire) != 4 {}

let counter = super::COUNTER.load(Ordering::Acquire);
assert_eq!(2 * super::STEPS, counter);
}
}

Expand Down

0 comments on commit 897e841

Please sign in to comment.