diff options
Diffstat (limited to 'src/libstd/slice.rs')
| -rw-r--r-- | src/libstd/slice.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libstd/slice.rs b/src/libstd/slice.rs index ca75f33f0fe..e5c0cc3babd 100644 --- a/src/libstd/slice.rs +++ b/src/libstd/slice.rs @@ -1839,18 +1839,18 @@ mod tests { }) ) let empty: ~[int] = box []; - test_show_vec!(empty, "[]".to_strbuf()); - test_show_vec!(box [1], "[1]".to_strbuf()); - test_show_vec!(box [1, 2, 3], "[1, 2, 3]".to_strbuf()); + test_show_vec!(empty, "[]".to_string()); + test_show_vec!(box [1], "[1]".to_string()); + test_show_vec!(box [1, 2, 3], "[1, 2, 3]".to_string()); test_show_vec!(box [box [], box [1u], box [1u, 1u]], - "[[], [1], [1, 1]]".to_strbuf()); + "[[], [1], [1, 1]]".to_string()); let empty_mut: &mut [int] = &mut[]; - test_show_vec!(empty_mut, "[]".to_strbuf()); - test_show_vec!(&mut[1], "[1]".to_strbuf()); - test_show_vec!(&mut[1, 2, 3], "[1, 2, 3]".to_strbuf()); + test_show_vec!(empty_mut, "[]".to_string()); + test_show_vec!(&mut[1], "[1]".to_string()); + test_show_vec!(&mut[1, 2, 3], "[1, 2, 3]".to_string()); test_show_vec!(&mut[&mut[], &mut[1u], &mut[1u, 1u]], - "[[], [1], [1, 1]]".to_strbuf()); + "[[], [1], [1, 1]]".to_string()); } #[test] |
