Skip to content

Commit

Permalink
use --exclude-should-panic
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 26, 2019
1 parent c36d49a commit 49a9d6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ci/miri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export CARGO_NET_TIMEOUT=10

if rustup component add miri ; then
cargo miri setup
cargo miri test
cargo miri test -- -- -Zunstable-options --exclude-should-panic
fi
1 change: 0 additions & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3219,7 +3219,6 @@ mod test_map {

#[test]
#[should_panic]
#[cfg(not(miri))] // FIXME: https://github.com/rust-lang/miri/issues/636
fn test_index_nonexistent() {
let mut map = HashMap::new();

Expand Down

0 comments on commit 49a9d6c

Please sign in to comment.