Skip to content

Commit

Permalink
Keep lines <= 100 chars, add po test for Path
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Mar 17, 2024
1 parent b4d0f54 commit 9768e71
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/debuginfo/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@

//@ compile-flags:-g

//@ === LLDB TESTS ==================================================================================
//@ === LLDB TESTS =================================================================================

//@ lldb-command:run

//@ lldb-command:print pathbuf
//@ 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' } } } }
//@ 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' }
//@ } } }
//@ lldb-command:po pathbuf
//@ lldb-check:"/some/path"
//@ lldb-command:print path
//@ lldb-check:[...]$1 = "/some/path" { data_ptr = [...] length = 10 }
//@ lldb-command:po path
//@ lldb-check:"/some/path"

use std::path::Path;

Expand Down

0 comments on commit 9768e71

Please sign in to comment.