Skip to content

Commit 9768e71

Browse files
committed
Keep lines <= 100 chars, add po test for Path
1 parent b4d0f54 commit 9768e71

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/debuginfo/path.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22

33
//@ compile-flags:-g
44

5-
//@ === LLDB TESTS ==================================================================================
5+
//@ === LLDB TESTS =================================================================================
66

77
//@ lldb-command:run
88

99
//@ lldb-command:print pathbuf
10-
//@ lldb-check:[...]$0 = "/some/path" { inner = "/some/path" { inner = { inner = size=10 { [0] = '/' [1] = 's' [2] = 'o' [3] = 'm' [4] = 'e' [5] = '/' [6] = 'p' [7] = 'a' [8] = 't' [9] = 'h' } } } }
10+
//@ lldb-check:[...]$0 = "/some/path" { inner = "/some/path" { inner = { inner = size=10 { [0] = '/'
11+
//@ [1] = 's' [2] = 'o' [3] = 'm' [4] = 'e' [5] = '/' [6] = 'p' [7] = 'a' [8] = 't' [9] = 'h' }
12+
//@ } } }
1113
//@ lldb-command:po pathbuf
1214
//@ lldb-check:"/some/path"
1315
//@ lldb-command:print path
1416
//@ lldb-check:[...]$1 = "/some/path" { data_ptr = [...] length = 10 }
17+
//@ lldb-command:po path
18+
//@ lldb-check:"/some/path"
1519

1620
use std::path::Path;
1721

0 commit comments

Comments
 (0)