Remove vec-to_str.rs, merge the remaining test in with vec

This commit is contained in:
Rune Tynan 2020-09-03 15:43:07 -04:00
parent 3e29fdb0fb
commit 2278c7255a
No known key found for this signature in database
GPG Key ID: 7ECC932F8B2C731E
2 changed files with 3 additions and 7 deletions

View File

@ -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]

View File

@ -1,7 +0,0 @@
// run-pass
pub fn main() {
let bar: &[isize] = &[4, 5];
assert_eq!(format!("{:?}", bar), "[4, 5]");
}