librustc: Remove fail_unless!
This commit is contained in:
parent
a17a9d41f6
commit
1e91595520
862 changed files with 5898 additions and 5911 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue