libcollections: fix unit tests
This commit is contained in:
parent
f0b65674c3
commit
a672b27cbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue