Skip to content

Commit c55a3a7

Browse files
committed
Add LLDB test for NonZero integers
1 parent 1ec68fa commit c55a3a7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

pretty_printers_tests/tests/nonzero.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
// min-version: 1.33.0
22

3+
// === LLDB TESTS ==================================================================================
4+
5+
// lldb-command:run
6+
7+
// lldb-command:print a
8+
// lldbg-check:[...]$0 = 1
9+
// lldb-command:print b
10+
// lldbg-check:[...]$1 = 1024
11+
312
// === GDB TESTS ===================================================================================
413

514
// gdb-command:run

pretty_printers_tests/tests/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// lldb-command:run
44

55
// lldb-command:print s1
6-
// lldbg-check:[...]$0 = "A∆й中" [...]
6+
// lldbg-check:[...]$0 = "xA∆й中" [...]
77
// lldbg-check-201:[...]s1 = "A∆й中" [...]
88
// lldb-command:print s2
99
// lldbg-check:[...]$1 = "A∆й中" [...]

0 commit comments

Comments
 (0)