1
Fork 0

Use assert_eq! rather than assert! where possible

This commit is contained in:
Corey Richardson 2013-05-18 22:02:45 -04:00
commit cc57ca012a
641 changed files with 2809 additions and 2809 deletions

View file

@ -19,5 +19,5 @@ fn select<'r>(x: &'r Option<int>, y: &'r Option<int>) -> &'r Option<int> {
pub fn main() {
let x = None;
let y = Some(3);
assert!(select(&x, &y).get() == 3);
assert_eq!(select(&x, &y).get(), 3);
}