Skip to content

Commit

Permalink
Merge pull request #43 from RalfJung/miri
Browse files Browse the repository at this point in the history
ignore tests on miri instead of excluding them from compilation
  • Loading branch information
fitzgen committed Dec 10, 2019
2 parents 12507fe + 22422d4 commit ff63013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test.rs
Expand Up @@ -318,7 +318,7 @@ fn size_hint() {
}

#[test]
#[cfg(not(miri))]
#[cfg_attr(miri, ignore)]
fn size_hint_low_initial_capacities() {
#[derive(Debug, PartialEq, Eq)]
struct NonCopy(usize);
Expand All @@ -337,7 +337,7 @@ fn size_hint_low_initial_capacities() {
}

#[test]
#[cfg(not(miri))]
#[cfg_attr(miri, ignore)]
fn size_hint_high_initial_capacities() {
#[derive(Debug, PartialEq, Eq)]
struct NonCopy(usize);
Expand All @@ -356,7 +356,7 @@ fn size_hint_high_initial_capacities() {
}

#[test]
#[cfg(not(miri))]
#[cfg_attr(miri, ignore)]
fn size_hint_many_items() {
#[derive(Debug, PartialEq, Eq)]
struct NonCopy(usize);
Expand Down

0 comments on commit ff63013

Please sign in to comment.