// except according to those terms.
// compile-flags: --test --cfg ignorecfg
-// ignore-fast
#[test]
#[ignore(cfg(ignorecfg))]
let tests = __test::TESTS;
assert!(
- tests.iter().any(|t| t.desc.name.to_str() == ~"shouldignore" && t.desc.ignore));
+ tests.iter().any(|t| t.desc.name.to_str() == "shouldignore".to_owned() &&
+ t.desc.ignore));
assert!(
- tests.iter().any(|t| t.desc.name.to_str() == ~"shouldnotignore" && !t.desc.ignore));
+ tests.iter().any(|t| t.desc.name.to_str() == "shouldnotignore".to_owned() &&
+ !t.desc.ignore));
}