Skip to content

Commit

Permalink
Remove vec-to_str.rs, merge the remaining test in with vec
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Sep 3, 2020
1 parent 3e29fdb commit 2278c72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 3 additions & 0 deletions library/alloc/tests/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ fn test_debug_fmt() {

let vec2 = vec![0, 1];
assert_eq!("[0, 1]", format!("{:?}", vec2));

let slice: &[isize] = &[4, 5];
assert_eq!("[4, 5]", format!("{:?}", slice));
}

#[test]
Expand Down
7 changes: 0 additions & 7 deletions src/test/ui/array-slice-vec/vec-to_str.rs

This file was deleted.

0 comments on commit 2278c72

Please sign in to comment.