Skip to content

Commit c3cf903

Browse files
committed
fix again
1 parent 4343b8c commit c3cf903

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/debuginfo/pretty-std.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
// gdb-command: run
1212

1313
// gdb-command: print slice
14-
// gdb-check:$1 = &[i32](len: 4) = {0, 1, 2, 3}
14+
// gdb-check:$1 = &[i32](size=4) = {0, 1, 2, 3}
1515

1616
// gdb-command: print vec
17-
// gdb-check:$2 = Vec<u64, alloc::alloc::Global>(len: 4, cap: [...]) = {4, 5, 6, 7}
17+
// gdb-check:$2 = Vec(size=4) = {4, 5, 6, 7}
1818

1919
// gdb-command: print str_slice
2020
// gdb-check:$3 = "IAMA string slice!"
@@ -23,21 +23,21 @@
2323
// gdb-check:$4 = "IAMA string!"
2424

2525
// gdb-command: print some
26-
// gdb-check:$5 = Some = {8}
26+
// gdb-check:$5 = core::option::Option<i16>::Some(8)
2727

2828
// gdb-command: print none
2929
// gdbg-check:$6 = None
30-
// gdbr-check:$6 = core::option::Option::None
30+
// gdbr-check:$6 = core::option::Option<i64>::None
3131

3232
// gdb-command: print os_string
3333
// gdb-check:$7 = "IAMA OS string 😃"
3434

3535
// gdb-command: print some_string
36-
// gdb-check:$8 = Some = {"IAMA optional string!"}
36+
// gdb-check:$8 = core::option::Option<alloc::string::String>::Some("IAMA optional string!")
3737

38-
// gdb-command: set print length 5
38+
// gdb-command: set print elements 5
3939
// gdb-command: print some_string
40-
// gdb-check:$8 = Some = {"IAMA "...}
40+
// gdb-check:$9 = core::option::Option<alloc::string::String>::Some("IAMA "...)
4141

4242
// === LLDB TESTS ==================================================================================
4343

0 commit comments

Comments
 (0)