librustc: Convert all uses of assert
over to fail_unless!
This commit is contained in:
parent
0ea031bcb8
commit
d7e74b5e91
817 changed files with 6378 additions and 6335 deletions
|
@ -29,7 +29,7 @@ pure fn mi(v: int) -> MyInt { MyInt { val: v } }
|
|||
|
||||
pub fn main() {
|
||||
let (x, y, z) = (mi(3), mi(5), mi(3));
|
||||
assert x != y;
|
||||
assert x == z;
|
||||
fail_unless!(x != y);
|
||||
fail_unless!(x == z);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue