Skip to content

Commit ec38442

Browse files
olsonjefferybrson
authored andcommitted
---
yaml --- r: 50603 b: refs/heads/try c: 3aa92a9 h: refs/heads/master i: 50601: ce18985 50599: 94e01a9 v: v3
1 parent 74d0bd6 commit ec38442

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: 5ff66f04050569321dc2b722ade6f972322edd58
5+
refs/heads/try: 3aa92a91c90ac2b46a705f6cae6e9803aa956a74
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcore/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pub fn env() -> ~[(~str,~str)] {
222222
log(debug,
223223
fmt!("splitting: len: %u",
224224
vs.len()));
225-
assert vs.len() == 2;
225+
fail_unless!(vs.len() == 2);
226226
pairs.push((copy vs[0], copy vs[1]));
227227
}
228228
pairs

branches/try/src/libcore/ptr.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,11 @@ pub mod ptr_tests {
463463
log(debug,
464464
fmt!("test_ptr_array_each e: %s, a: %s",
465465
expected, actual));
466-
assert actual == expected;
466+
fail_unless!(actual == expected);
467467
ctr += 1;
468468
iteration_count += 1;
469469
});
470-
assert iteration_count == 3u;
470+
fail_unless!(iteration_count == 3u);
471471
}
472472
}
473473
#[test]
@@ -495,11 +495,11 @@ pub mod ptr_tests {
495495
log(debug,
496496
fmt!("test_ptr_array_each e: %s, a: %s",
497497
expected, actual));
498-
assert actual == expected;
498+
fail_unless!(actual == expected);
499499
ctr += 1;
500500
iteration_count += 1;
501501
});
502-
assert iteration_count == 3;
502+
fail_unless!(iteration_count == 3);
503503
}
504504
}
505505
#[test]

0 commit comments

Comments
 (0)