Skip to content

Commit b2dae98

Browse files
committed
Fixup tests
1 parent 22ed23d commit b2dae98

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

tests/debuginfo/associated-types.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
// lldb-command:run
3838

3939
// lldb-command:v arg
40-
// lldb-check:[...] { b = -1, b1 = 0 }
40+
// lldb-check:[...] { b = -1 b1 = 0 }
4141
// lldb-command:continue
4242

4343
// lldb-command:v inferred
@@ -51,7 +51,7 @@
5151
// lldb-command:continue
5252

5353
// lldb-command:v arg
54-
// lldb-check:[...] (4, 5)
54+
// lldb-check:[...] { 0 = 4 1 = 5 }
5555
// lldb-command:continue
5656

5757
// lldb-command:v a

tests/debuginfo/generic-method-on-generic-struct.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
// STACK BY REF
5858
// lldb-command:v *self
59-
// lldb-check:[...] { x = { 0 = 8888, 1 = -8888 } }
59+
// lldb-check:[...] { x = { 0 = 8888 1 = -8888 } }
6060
// lldb-command:v arg1
6161
// lldb-check:[...] -1
6262
// lldb-command:v arg2
@@ -65,7 +65,7 @@
6565

6666
// STACK BY VAL
6767
// lldb-command:v self
68-
// lldb-check:[...] { x = { 0 = 8888, 1 = -8888 } }
68+
// lldb-check:[...] { x = { 0 = 8888 1 = -8888 } }
6969
// lldb-command:v arg1
7070
// lldb-check:[...] -3
7171
// lldb-command:v arg2

tests/debuginfo/generic-struct.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
// lldb-command:run
1919

2020
// lldb-command:v int_int
21-
// lldb-check:[...] AGenericStruct<i32, i32> { key: 0, value: 1 }
21+
// lldb-check:[...]AGenericStruct<int, int>) int_int = { key = 0 value = 1 }
2222
// lldb-command:v int_float
23-
// lldb-check:[...] AGenericStruct<i32, f64> { key: 2, value: 3.5 }
23+
// lldb-check:[...]AGenericStruct<int, double>) int_float = { key = 2 value = 3.5 }
2424
// lldb-command:v float_int
25-
// lldb-check:[...] AGenericStruct<f64, i32> { key: 4.5, value: 5 }
25+
// lldb-check:[...]AGenericStruct<double, int>) float_int = { key = 4.5 value = 5 }
2626

2727
// lldb-command:v float_int_float
28-
// lldb-check:[...] AGenericStruct<f64, generic_struct::AGenericStruct<i32, f64>> { key: 6.5, value: AGenericStruct<i32, f64> { key: 7, value: 8.5 } }
28+
// lldb-check:[...]AGenericStruct<double, generic_struct::AGenericStruct<int, double> >) float_int_float = { key = 6.5 value = { key = 7 value = 8.5 } }
2929

3030
// === CDB TESTS ===================================================================================
3131

tests/debuginfo/method-on-generic-struct.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
// STACK BY REF
5858
// lldb-command:v *self
59-
// lldb-check:[...] Struct<(u32, i32)> { x: (8888, -8888) }
59+
// lldb-check:[...]Struct<(u32, i32)>) *self = { x = { 0 = 8888 1 = -8888 } }
6060
// lldb-command:v arg1
6161
// lldb-check:[...] -1
6262
// lldb-command:v arg2
@@ -65,7 +65,7 @@
6565

6666
// STACK BY VAL
6767
// lldb-command:v self
68-
// lldb-check:[...] Struct<(u32, i32)> { x: (8888, -8888) }
68+
// lldb-check:[...]Struct<(u32, i32)>) self = { x = { 0 = 8888 1 = -8888 } }
6969
// lldb-command:v arg1
7070
// lldb-check:[...] -3
7171
// lldb-command:v arg2
@@ -74,7 +74,7 @@
7474

7575
// OWNED BY REF
7676
// lldb-command:v *self
77-
// lldb-check:[...] Struct<f64> { x: 1234.5 }
77+
// lldb-check:[...]Struct<double>) *self = { x = 1234.5 }
7878
// lldb-command:v arg1
7979
// lldb-check:[...] -5
8080
// lldb-command:v arg2
@@ -83,7 +83,7 @@
8383

8484
// OWNED BY VAL
8585
// lldb-command:v self
86-
// lldb-check:[...] Struct<f64> { x: 1234.5 }
86+
// lldb-check:[...]Struct<double>) self = { x = 1234.5 }
8787
// lldb-command:v arg1
8888
// lldb-check:[...] -7
8989
// lldb-command:v arg2
@@ -92,7 +92,7 @@
9292

9393
// OWNED MOVED
9494
// lldb-command:v *self
95-
// lldb-check:[...] Struct<f64> { x: 1234.5 }
95+
// lldb-check:[...]Struct<double>) *self = { x = 1234.5 }
9696
// lldb-command:v arg1
9797
// lldb-check:[...] -9
9898
// lldb-command:v arg2

0 commit comments

Comments
 (0)