summaryrefslogtreecommitdiff
path: root/test/snapshots/callstack.golden
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/callstack.golden')
-rw-r--r--test/snapshots/callstack.golden27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/snapshots/callstack.golden b/test/snapshots/callstack.golden
new file mode 100644
index 00000000..2970593d
--- /dev/null
+++ b/test/snapshots/callstack.golden
@@ -0,0 +1,27 @@
+== snap hierarchy grid=110x40 cursor=7,11
+| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit
+| New Tty Find Grep Joincol Delcol
+| /tmp/pardes-snap/callstack/cwd/main.rs Save Tty Collapse TreeContext Def Refs Del
+| 1 mod lib; --:--:-- lsp rust-analyzer: ready
+| 2
+| 3 fn main() {
+| 4 let x = add(1, 2);
+| 5 let y = add(3, 4);
+| 6 let _ = x + y;
+| 7 }
+| /tmp/pardes-snap/callstack/cwd/+Callstack Save Tty Collapse Del
+| 1 ╰──┬ main.rs:3:4-7
+| 2 │ fn main() {
+| 3 ├─ main.rs:4:13-15
+| 4 │ let x = add(1, 2);
+| 5 ├─ main.rs:5:13-15
+| 6 │ let y = add(3, 4);
+| 7 ╰──┬ main.rs:3:4-7
+| 8 │ fn main() { ↻ recursion
+| 9 ├─ main.rs:4:13-15
+| 10 │ let x = add(1, 2);
+| 11 ╰─ main.rs:5:13-15
+| 12 let y = add(3, 4);
+| 13
+== snap caller grid=110x40 cursor=13,5
+|3: 1 mod lib;