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
|
@ -23,6 +23,6 @@ fn gg<T:Bar>(a: &T) -> int {
|
|||
|
||||
pub fn main() {
|
||||
let a = &A { x: 3 };
|
||||
assert gg(a) == 10;
|
||||
fail_unless!(gg(a) == 10);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue