Fix breakage
This commit is contained in:
parent
9dc6938292
commit
04f93be158
@ -13,12 +13,12 @@ use core::cmp;
|
||||
|
||||
pub pure fn check_equal_ptr<T : cmp::Eq> (given : &T, expected: &T) {
|
||||
if !((given == expected) && (expected == given )) {
|
||||
fail (fmt!("given %?, expected %?",given,expected));
|
||||
die!(fmt!("given %?, expected %?",given,expected));
|
||||
}
|
||||
}
|
||||
|
||||
pub pure fn check_equal<T : cmp::Eq> (given : T, expected: T) {
|
||||
if !((given == expected) && (expected == given )) {
|
||||
fail (fmt!("given %?, expected %?",given,expected));
|
||||
die!(fmt!("given %?, expected %?",given,expected));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user