libcollections: fix unit tests
This commit is contained in:
parent
f0b65674c3
commit
a672b27cbc
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user