Skip to content

Commit 2278c72

Browse files
committed
Remove vec-to_str.rs, merge the remaining test in with vec
1 parent 3e29fdb commit 2278c72

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

library/alloc/tests/vec.rs

+3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ fn test_debug_fmt() {
9292

9393
let vec2 = vec![0, 1];
9494
assert_eq!("[0, 1]", format!("{:?}", vec2));
95+
96+
let slice: &[isize] = &[4, 5];
97+
assert_eq!("[4, 5]", format!("{:?}", slice));
9598
}
9699

97100
#[test]

src/test/ui/array-slice-vec/vec-to_str.rs

-7
This file was deleted.

0 commit comments

Comments
 (0)