fix(rustup): update to rust beta

This commit is contained in:
Sean McArthur
2015-04-02 12:32:46 -07:00
parent b4aeeb347c
commit 0f5858f379
12 changed files with 79 additions and 74 deletions

View File

@@ -171,7 +171,7 @@ mod tests {
None => panic!("Transfer-Encoding: chunked expected!"),
};
// The body is correct?
assert_eq!(read_to_string(res), Ok("qwert".to_string()));
assert_eq!(read_to_string(res).unwrap(), "qwert".to_string());
}
/// Tests that when a chunk size is not a valid radix-16 number, an error
@@ -228,6 +228,6 @@ mod tests {
let res = Response::new(Box::new(stream)).unwrap();
assert_eq!(read_to_string(res), Ok("1".to_string()));
assert_eq!(read_to_string(res).unwrap(), "1".to_string());
}
}