Skip to content

Commit 2188488

Browse files
committed
update tests w/ new struct summary
1 parent 2908123 commit 2188488

32 files changed

Lines changed: 116 additions & 116 deletions

tests/debuginfo/associated-types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
//@ lldb-command:run
4040

4141
//@ lldb-command:v arg
42-
//@ lldb-check:[...] { b = -1 b1 = 0 }
42+
//@ lldb-check:[...] {b:-1, b1:0}
4343
//@ lldb-command:continue
4444

4545
//@ lldb-command:v inferred

tests/debuginfo/borrowed-struct.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
//@ lldb-command:run
3434

3535
//@ lldb-command:v *stack_val_ref
36-
//@ lldb-check:[...] { x = 10 y = 23.5 }
36+
//@ lldb-check:[...] {x:10, y:23.5}
3737

3838
//@ lldb-command:v *stack_val_interior_ref_1
3939
//@ lldb-check:[...] 10
@@ -42,10 +42,10 @@
4242
//@ lldb-check:[...] 23.5
4343

4444
//@ lldb-command:v *ref_to_unnamed
45-
//@ lldb-check:[...] { x = 11 y = 24.5 }
45+
//@ lldb-check:[...] {x:11, y:24.5}
4646

4747
//@ lldb-command:v *unique_val_ref
48-
//@ lldb-check:[...] { x = 13 y = 26.5 }
48+
//@ lldb-check:[...] {x:13, y:26.5}
4949

5050
//@ lldb-command:v *unique_val_interior_ref_1
5151
//@ lldb-check:[...] 13

tests/debuginfo/boxed-struct.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
//@ lldb-command:run
1919

2020
//@ lldb-command:v *boxed_with_padding
21-
//@ lldb-check:[...] { x = 99 y = 999 z = 9999 w = 99999 }
21+
//@ lldb-check:[...] {x:99, y:999, z:9999, w:99999}
2222

2323
//@ lldb-command:v *boxed_with_dtor
24-
//@ lldb-check:[...] { x = 77 y = 777 z = 7777 w = 77777 }
24+
//@ lldb-check:[...] {x:77, y:777, z:7777, w:77777}
2525

2626
#![allow(unused_variables)]
2727

tests/debuginfo/by-value-self-argument-in-trait-impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
//@ lldb-command:continue
2929

3030
//@ lldb-command:v self
31-
//@ lldb-check:[...] { x = 2222 y = 3333 }
31+
//@ lldb-check:[...] {x:2222, y:3333}
3232
//@ lldb-command:continue
3333

3434
//@ lldb-command:v self

tests/debuginfo/c-style-enum-in-composite.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
//@ lldb-check:[...] (OneThousand, MountainView, OneMillion, Vienna)
4242

4343
//@ lldb-command:v padded_struct
44-
//@ lldb-check:[...] { a = 3 b = OneMillion c = 4 d = Toronto e = 5 }
44+
//@ lldb-check:[...] {a:3, b:OneMillion, c:4, d:Toronto, e:5}
4545

4646
//@ lldb-command:v packed_struct
47-
//@ lldb-check:[...] { a = 6 b = OneHundred c = 7 d = Vienna e = 8 }
47+
//@ lldb-check:[...] {a:6, b:OneHundred, c:7, d:Vienna, e:8}
4848

4949
//@ lldb-command:v non_padded_struct
50-
//@ lldb-check:[...] { a = OneMillion b = MountainView c = OneThousand d = Toronto }
50+
//@ lldb-check:[...] {a:OneMillion, b:MountainView, c:OneThousand, d:Toronto}
5151

5252
//@ lldb-command:v struct_with_drop
5353
//@ lldb-check:[...] ({a:OneHundred, b:Vienna}, 9)

tests/debuginfo/captured-fields-1.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@
2727

2828
//@ lldb-command:run
2929
//@ lldb-command:v test
30-
//@ lldb-check:(captured_fields_1::main::{closure_env#0}) test = { _ref__my_ref__my_field1 = 0x[...] }
30+
//@ lldb-check:(captured_fields_1::main::{closure_env#0}) test = {_ref__my_ref__my_field1:0x[...]}
3131
//@ lldb-command:continue
3232
//@ lldb-command:v test
33-
//@ lldb-check:(captured_fields_1::main::{closure_env#1}) test = { _ref__my_ref__my_field2 = 0x[...] }
33+
//@ lldb-check:(captured_fields_1::main::{closure_env#1}) test = {_ref__my_ref__my_field2:0x[...]}
3434
//@ lldb-command:continue
3535
//@ lldb-command:v test
36-
//@ lldb-check:(captured_fields_1::main::{closure_env#2}) test = { _ref__my_ref = 0x[...] }
36+
//@ lldb-check:(captured_fields_1::main::{closure_env#2}) test = {_ref__my_ref:0x[...]}
3737
//@ lldb-command:continue
3838
//@ lldb-command:v test
39-
//@ lldb-check:(captured_fields_1::main::{closure_env#3}) test = { my_ref = 0x[...] }
39+
//@ lldb-check:(captured_fields_1::main::{closure_env#3}) test = {my_ref:{my_field1:11, my_field2:22}}
4040
//@ lldb-command:continue
4141
//@ lldb-command:v test
42-
//@ lldb-check:(captured_fields_1::main::{closure_env#4}) test = { my_var__my_field2 = 22 }
42+
//@ lldb-check:(captured_fields_1::main::{closure_env#4}) test = {my_var__my_field2:22}
4343
//@ lldb-command:continue
4444
//@ lldb-command:v test
45-
//@ lldb-check:(captured_fields_1::main::{closure_env#5}) test = { my_var = { my_field1 = 11 my_field2 = 22 } }
45+
//@ lldb-check:(captured_fields_1::main::{closure_env#5}) test = {my_var:{my_field1:11, my_field2:22}}
4646
//@ lldb-command:continue
4747

4848
#![allow(unused)]

tests/debuginfo/destructured-fn-argument.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
//@ lldb-command:v h
179179
//@ lldb-check:[...] 8
180180
//@ lldb-command:v i
181-
//@ lldb-check:[...] { a = 9 b = 10 }
181+
//@ lldb-check:[...] {a:9, b:10}
182182
//@ lldb-command:v j
183183
//@ lldb-check:[...] 11
184184
//@ lldb-command:continue
@@ -204,7 +204,7 @@
204204
//@ lldb-command:v q
205205
//@ lldb-check:[...] 20
206206
//@ lldb-command:v r
207-
//@ lldb-check:[...] { a = 21 b = 22 }
207+
//@ lldb-check:[...] {a:21, b:22}
208208
//@ lldb-command:continue
209209

210210
//@ lldb-command:v s

tests/debuginfo/destructured-for-loop-variable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
//@ lldb-command:continue
135135

136136
//@ lldb-command:v simple_struct_ident
137-
//@ lldb-check:[...] { x = 3537 y = 35437.5 z = true }
137+
//@ lldb-check:[...] {x:3537, y:35437.5, z:true}
138138
//@ lldb-command:continue
139139

140140
//@ lldb-command:v simple_tuple_ident

tests/debuginfo/destructured-local.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
//@ lldb-command:v h
142142
//@ lldb-check:[...] 8
143143
//@ lldb-command:v i
144-
//@ lldb-check:[...] { a = 9 b = 10 }
144+
//@ lldb-check:[...] {a:9, b:10}
145145
//@ lldb-command:v j
146146
//@ lldb-check:[...] 11
147147

@@ -163,7 +163,7 @@
163163
//@ lldb-command:v q
164164
//@ lldb-check:[...] 20
165165
//@ lldb-command:v r
166-
//@ lldb-check:[...] { a = 21 b = 22 }
166+
//@ lldb-check:[...] {a:21, b:22}
167167

168168
//@ lldb-command:v s
169169
//@ lldb-check:[...] 24

tests/debuginfo/evec-in-struct.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@
2626
//@ lldb-command:run
2727

2828
//@ lldb-command:v no_padding1
29-
//@ lldb-check:[...] { x = { [0] = 0 [1] = 1 [2] = 2 } y = -3 z = { [0] = 4.5 [1] = 5.5 } }
29+
//@ lldb-check:[...] {x:(0, 1, 2), y:-3, z:(4.5, 5.5)}
3030
//@ lldb-command:v no_padding2
31-
//@ lldb-check:[...] { x = { [0] = 6 [1] = 7 [2] = 8 } y = { [0] = { [0] = 9 [1] = 10 } [1] = { [0] = 11 [1] = 12 } } }
31+
//@ lldb-check:[...] {x:(6, 7, 8), y:((9, 10), (11, 12))}
3232

3333
//@ lldb-command:v struct_internal_padding
34-
//@ lldb-check:[...] { x = { [0] = 13 [1] = 14 } y = { [0] = 15 [1] = 16 } }
34+
//@ lldb-check:[...] {x:(13, 14), y:(15, 16)}
3535

3636
//@ lldb-command:v single_vec
37-
//@ lldb-check:[...] { x = { [0] = 17 [1] = 18 [2] = 19 [3] = 20 [4] = 21 } }
37+
//@ lldb-check:[...] {x:(17, 18, 19, 20, 21)}
3838

3939
//@ lldb-command:v struct_padded_at_end
40-
//@ lldb-check:[...] { x = { [0] = 22 [1] = 23 } y = { [0] = 24 [1] = 25 } }
40+
//@ lldb-check:[...] {x:(22, 23), y:(24, 25)}
4141

4242
#![allow(unused_variables)]
4343

0 commit comments

Comments
 (0)