File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5
- refs/heads/try: 5ff66f04050569321dc2b722ade6f972322edd58
5
+ refs/heads/try: 3aa92a91c90ac2b46a705f6cae6e9803aa956a74
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ pub fn env() -> ~[(~str,~str)] {
222
222
log ( debug,
223
223
fmt ! ( "splitting: len: %u" ,
224
224
vs. len( ) ) ) ;
225
- assert vs. len ( ) == 2 ;
225
+ fail_unless ! ( vs. len( ) == 2 ) ;
226
226
pairs. push ( ( copy vs[ 0 ] , copy vs[ 1 ] ) ) ;
227
227
}
228
228
pairs
Original file line number Diff line number Diff line change @@ -463,11 +463,11 @@ pub mod ptr_tests {
463
463
log(debug,
464
464
fmt!(" test_ptr_array_each e: %s, a: %s",
465
465
expected, actual));
466
- assert actual == expected;
466
+ fail_unless!( actual == expected) ;
467
467
ctr += 1;
468
468
iteration_count += 1;
469
469
});
470
- assert iteration_count == 3u;
470
+ fail_unless!( iteration_count == 3u) ;
471
471
}
472
472
}
473
473
#[test]
@@ -495,11 +495,11 @@ pub mod ptr_tests {
495
495
log(debug,
496
496
fmt!(" test_ptr_array_each e: %s, a: %s" ,
497
497
expected, actual) ) ;
498
- assert actual == expected;
498
+ fail_unless ! ( actual == expected) ;
499
499
ctr += 1 ;
500
500
iteration_count += 1 ;
501
501
} ) ;
502
- assert iteration_count == 3 ;
502
+ fail_unless ! ( iteration_count == 3 ) ;
503
503
}
504
504
}
505
505
#[ test]
You can’t perform that action at this time.
0 commit comments