Fixing failing test cases
This commit is contained in:
parent
749a184a06
commit
2c06e7aac9
2 changed files with 2 additions and 2 deletions
|
@ -23,5 +23,5 @@ mod stream {
|
||||||
fn main() {
|
fn main() {
|
||||||
let (bc, _bp) = stream::init();
|
let (bc, _bp) = stream::init();
|
||||||
|
|
||||||
stream::client::send(bc, "abc");
|
stream::client::send(bc, ~"abc");
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ fn test_vec() {
|
||||||
|
|
||||||
fn test_str() {
|
fn test_str() {
|
||||||
let (ch, po) = pipes::stream();
|
let (ch, po) = pipes::stream();
|
||||||
let s0 = "test";
|
let s0 = ~"test";
|
||||||
ch.send(s0);
|
ch.send(s0);
|
||||||
let s1 = po.recv();
|
let s1 = po.recv();
|
||||||
assert (s1[0] == 't' as u8);
|
assert (s1[0] == 't' as u8);
|
||||||
|
|
Loading…
Reference in a new issue