File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
branches/incoming/src/libcore Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
- refs/heads/incoming: 5ff66f04050569321dc2b722ade6f972322edd58
9
+ refs/heads/incoming: 3aa92a91c90ac2b46a705f6cae6e9803aa956a74
10
10
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
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