don't print in the binop tests

This commit is contained in:
Oliver Schneider 2016-11-15 15:24:22 +01:00
parent 4748587a77
commit 5ee75c0805
No known key found for this signature in database
GPG Key ID: 56D6EEA0FC67AC46

View File

@ -76,11 +76,6 @@ fn test_class() {
let q = p(1, 2);
let mut r = p(1, 2);
unsafe {
println!("q = {:x}, r = {:x}",
(::std::mem::transmute::<*const P, usize>(&q)),
(::std::mem::transmute::<*const P, usize>(&r)));
}
assert_eq!(q, r);
r.y = 17;
assert!((r.y != q.y));