aboutsummaryrefslogtreecommitdiffstats
path: root/tests/reftest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reftest.rs')
-rw-r--r--tests/reftest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reftest.rs b/tests/reftest.rs
index 3b888a3c3b9..a0857c78c3a 100644
--- a/tests/reftest.rs
+++ b/tests/reftest.rs
@@ -242,7 +242,7 @@ fn capture(reftest: &Reftest, side: uint) -> (u32, u32, Vec<u8>) {
Ok(status) => status,
Err(e) => fail!("failed to execute process: {}", e),
};
- assert!(retval == ExitStatus(0));
+ assert_eq!(retval, ExitStatus(0));
let image = png::load_png(&from_str::<Path>(png_filename.as_slice()).unwrap()).unwrap();
let rgba8_bytes = match image.pixels {