about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/str.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index abd9621cf0f..26f29e388cb 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -2527,9 +2527,10 @@ mod tests {
         assert split_within(~"hello", 15) == ~[~"hello"];
 
         let data = ~"\nMary had a little lamb\nLittle lamb\n";
-        assert split_within(data, 15) == ~[~"Mary had a little",
-                                           ~"lamb Little",
-                                           ~"lamb"];
+        error!("~~~~ %?", split_within(data, 15));
+        assert split_within(data, 15) == ~[~"Mary had a",
+                                           ~"little lamb",
+                                           ~"Little lamb"];
     }
 
     #[test]