summaryrefslogtreecommitdiff
path: root/test/snapshots
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots')
-rw-r--r--test/snapshots/dump.snap9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/snapshots/dump.snap b/test/snapshots/dump.snap
index 29e7b09e..5a602304 100644
--- a/test/snapshots/dump.snap
+++ b/test/snapshots/dump.snap
@@ -1,4 +1,6 @@
-# Dump serializes the session to this fixture's $DUMP path.
+# Dump writes the whole session to this fixture's $DUMP path, a dump of the
+# walk (src/walk.zig), and `-l` of it is that session again: the text typed
+# into a terminal over its history comes back where it was.
file d.txt x
start 31 100 -n 3
wait 8000 d.txt
@@ -14,4 +16,7 @@ stable 400 5000
press middle @Dump 1
release middle @Dump 1
stable 600 8000
-snapfile dump $DUMP
+start 31 100 -l $DUMP
+wait 8000 typed-marker
+stable 700 20000
+snap loaded