Skip to content

Commit

Permalink
Disable test_choose_weighted_assertions on platforms where catch_unwi…
Browse files Browse the repository at this point in the history
…nd doesn't work
  • Loading branch information
sicking committed Jun 6, 2018
1 parent 1f18997 commit f93e5f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,9 @@ mod test {
}

#[test]
#[cfg(feature="std")]
#[cfg(all(feature="std",
not(target_arch = "wasm32"),
not(target_arch = "asmjs")))]
fn test_choose_weighted_assertions() {
fn inner_delta(delta: i32) {
let items = vec![1, 2, 3];
Expand Down

0 comments on commit f93e5f9

Please sign in to comment.