1
Fork 0

librustc: Remove fail_unless!

This commit is contained in:
Patrick Walton 2013-03-28 18:39:09 -07:00 committed by Brian Anderson
parent a17a9d41f6
commit 1e91595520
862 changed files with 5898 additions and 5911 deletions

View file

@ -14,6 +14,6 @@ static C: S = S { a: V16(0xDEAD), b: 0x600D, c: 0xBAD };
pub fn main() {
let n = C.b;
fail_unless!(n != 0xBAD);
fail_unless!(n == 0x600D);
assert!(n != 0xBAD);
assert!(n == 0x600D);
}