Fixing failing test cases

This commit is contained in:
Eric Holk 2012-08-03 12:48:14 -07:00
parent 749a184a06
commit 2c06e7aac9
2 changed files with 2 additions and 2 deletions

View file

@ -23,5 +23,5 @@ mod stream {
fn main() {
let (bc, _bp) = stream::init();
stream::client::send(bc, "abc");
stream::client::send(bc, ~"abc");
}

View file

@ -33,7 +33,7 @@ fn test_vec() {
fn test_str() {
let (ch, po) = pipes::stream();
let s0 = "test";
let s0 = ~"test";
ch.send(s0);
let s1 = po.recv();
assert (s1[0] == 't' as u8);