Skip to content

Commit b55f1a7

Browse files
olsonjefferybrson
authored andcommitted
---
yaml --- r: 51293 b: refs/heads/incoming c: 3aa92a9 h: refs/heads/master i: 51291: 4e21d62 v: v3
1 parent 644dfae commit b55f1a7

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
@@ -6,7 +6,7 @@ refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 5ff66f04050569321dc2b722ade6f972322edd58
9+
refs/heads/incoming: 3aa92a91c90ac2b46a705f6cae6e9803aa956a74
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/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/incoming/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)