From a672b27cbc8de4f3cb6e5f2b3ed5a473204680b7 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 1 Dec 2014 18:02:39 -0500 Subject: [PATCH] libcollections: fix unit tests --- src/libcollections/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index cefdabac097b..0e3d2f02ae9c 100644 --- a/src/libcollections/string.rs +++ b/src/libcollections/string.rs @@ -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"); }