libcollections: fix unit tests

This commit is contained in:
Jorge Aparicio 2014-12-01 18:02:39 -05:00
parent f0b65674c3
commit a672b27cbc

View File

@ -1290,7 +1290,7 @@ mod tests {
fn test_str_add() {
let a = String::from_str("12345");
let b = a + "2";
let b = b + String::from_str("2");
let b = b + "2";
assert_eq!(b.len(), 7);
assert_eq!(b, "1234522");
}