summaryrefslogtreecommitdiff
path: root/test/snapshots/diffview.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:28:26 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commit2c13f29da2441d0e0fb11f11bb7a180054030cc9 (patch)
treebff1a7a8e92d5acdc354ed4e6da956dc0fa209dc /test/snapshots/diffview.snap
parent094b562b5b90558e82a9c3e2beea386d93bd1803 (diff)
downloadpardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.tar.gz
pardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.zip
tests: the editing snapshot scripts (41: modes, selections, look, search, the language client, diffs, tags) are process cases, test/process/tty_editing.zig, their goldens unchanged; checked against the old runner by two breaks, look's centring a third of the pane down (the same 4 fail in both) and the tty reading a drag as a motion (the same 7), grep the one flake in both, cured by the run alone
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/diffview.snap')
-rw-r--r--test/snapshots/diffview.snap37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/snapshots/diffview.snap b/test/snapshots/diffview.snap
deleted file mode 100644
index 23d060b7..00000000
--- a/test/snapshots/diffview.snap
+++ /dev/null
@@ -1,37 +0,0 @@
-# A diff pane, for reviewing a change: each hunk's code coloured as Zig (a
-# multi-line string over three lines, `defer` inside it no keyword), added and
-# removed rows tinted to the pane's edge with their prefix in the tint's hue,
-# headers muted. Then a right click on an added line's `+` opens the new file
-# at that line: the path is the repository's (a `.git` above the diff), b/
-# dropped.
-dirmk .git
-dirmk src
-file src/shape.zig const std = @import("std");\n\npub const Shape = union(enum) {\n circle: f32,\n square: f32,\n triangle: struct { base: f32, height: f32 },\n\n const note =\n \\\\areas, defer\n \\\\summed\n ;\n};\n
-file change.diff diff --git a/src/shape.zig b/src/shape.zig\nindex 1111111..2222222 100644\n--- a/src/shape.zig\n+++ b/src/shape.zig\n@@ -1,10 +1,12 @@\n const std = @import("std");\n \n pub const Shape = union(enum) {\n circle: f32,\n- square: u8 = 7,\n+ square: f32,\n+ triangle: struct { base: f32, height: f32 },\n \n const note =\n- \\\\areas\n+ \\\\areas, defer\n+ \\\\summed\n ;\n };\n
-start 31 100 change.diff
-wait 8000 Newcol Joincol
-stable 700 20000
-snap diff-pane
-snapstyle diff-colours
-press right 8 15
-release right 8 15
-stable 700 15000
-snap look-added-line
-# The same diff printed by a command (`git diff`, here `cat`) into a command
-# pane: its output is told for a diff and coloured the same, over the colours
-# the program printed, and a right click on a `+` there opens the file too.
-file cmds.txt cat change.diff\n
-start 31 100 cmds.txt
-wait 8000 cmds.txt
-stable 700 20000
-press middle 7 4
-drag middle 22 4
-release middle 22 4
-wait 10000 exit 0
-stable 700 15000
-snap command-pane
-snapstyle command-colours
-press right 3 21
-release right 3 21
-stable 700 15000
-snap command-look