From a600410f4f005151b34aca5d3371144943104a5f Mon Sep 17 00:00:00 2001 From: Tim Diekmann Date: Thu, 19 Nov 2020 11:22:53 +0100 Subject: [PATCH] Fix debuginfo test for `Vec` --- src/test/debuginfo/pretty-std.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/debuginfo/pretty-std.rs b/src/test/debuginfo/pretty-std.rs index 7ae82d522b0..6632488171d 100644 --- a/src/test/debuginfo/pretty-std.rs +++ b/src/test/debuginfo/pretty-std.rs @@ -13,7 +13,7 @@ // gdb-check:$1 = &[i32](len: 4) = {0, 1, 2, 3} // gdb-command: print vec -// gdb-check:$2 = Vec(len: 4, cap: [...]) = {4, 5, 6, 7} +// gdb-check:$2 = Vec(len: 4, cap: [...]) = {4, 5, 6, 7} // gdb-command: print str_slice // gdb-check:$3 = "IAMA string slice!" @@ -74,7 +74,7 @@ // NOTE: While slices have a .natvis entry that works in VS & VS Code, it fails in CDB 10.0.18362.1 // cdb-command: dx vec,d -// cdb-check:vec,d [...] : { size=4 } [Type: [...]::Vec] +// cdb-check:vec,d [...] : { size=4 } [Type: [...]::Vec] // cdb-check: [size] : 4 [Type: [...]] // cdb-check: [capacity] : [...] [Type: [...]] // cdb-check: [0] : 4 [Type: unsigned __int64]