Remove vec-to_str.rs, merge the remaining test in with vec
This commit is contained in:
parent
3e29fdb0fb
commit
2278c7255a
@ -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]
|
||||
|
@ -1,7 +0,0 @@
|
||||
// run-pass
|
||||
|
||||
|
||||
pub fn main() {
|
||||
let bar: &[isize] = &[4, 5];
|
||||
assert_eq!(format!("{:?}", bar), "[4, 5]");
|
||||
}
|
Loading…
Reference in New Issue
Block a user