diff options
Diffstat (limited to 'test/snapshots/diffview.golden')
| -rw-r--r-- | test/snapshots/diffview.golden | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/test/snapshots/diffview.golden b/test/snapshots/diffview.golden index 3a83fb25..12dfbf3d 100644 --- a/test/snapshots/diffview.golden +++ b/test/snapshots/diffview.golden @@ -1,7 +1,7 @@ == snap diff-pane grid=100x31 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/diffview/cwd/change.diff Keep Save Term Diff Collapse Follow Del +| /tmp/pardes-snap/diffview/cwd/change.diff Keep Diff Del | 1 diff --git a/src/shape.zig b/src/shape.zig | 2 index 1111111..2222222 100644 | 3 --- a/src/shape.zig @@ -62,22 +62,21 @@ |28: 0-0 d,#608269, 1-99 d,#0d1410, |29: 0-0 d,#608269, 1-99 d,#0d1410, |30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824, -== snap look-added-line grid=100x31 cursor=55,9 -|2: change.diff:12 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Save Term Collapse Follow TreeCo -|3: ntext Def Refs Del -|4: 1 const std = @import("std"); -|5: 2 -|6: 3 pub const Shape = union(enum) { -|7: 4 circle: f32, -|8: 5 square: f32, -|9: 6 triangle: struct { base: f32, height: f32 }, -|10: 7 -|11: 8 const note = -|12: 9 \\areas, defer -|13: 10 \\summed -|14: 11 ; -|15: 12 }; -|16: ~ +== snap look-added-line grid=100x31 cursor=55,8 +|2: change.diff:12 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Del +|3: 1 const std = @import("std"); +|4: 2 +|5: 3 pub const Shape = union(enum) { +|6: 4 circle: f32, +|7: 5 square: f32, +|8: 6 triangle: struct { base: f32, height: f32 }, +|10: 8 const note = +|11: 9 \\areas, defer +|12: 10 \\summed +|13: 11 ; +|14: 12 }; +|15: ~ +|16: |17: |18: |19: @@ -88,7 +87,7 @@ == snap command-pane grid=100x31 cursor=7,3 | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol -| /tmp/pardes-snap/diffview/cwd/cmds.txt Keep Save Term Collapse Follow Del +| /tmp/pardes-snap/diffview/cwd/cmds.txt Keep Del | 1 cat change.diff | ~ | @@ -102,7 +101,7 @@ | | | -| /tmp/pardes-snap/diffview/cwd (cat change.diff) exit 0 Kill Save Collapse Del +| /tmp/pardes-snap/diffview/cwd (cat change.diff) exit 0 Del | circle: f32, | - square: u8 = 7, | + square: f32, @@ -149,17 +148,17 @@ |28: 0-0 d,#608269, 1-1 d,#0d1410, 2-99 #e5eee5,#0d1410, |29: 0-0 d,#152019, 1-99 d,#0d1410, |30: 0-1 d,#1d2824, 2-99 #6f7d75,#1d2824, -== snap command-look grid=100x31 cursor=55,28 +== snap command-look grid=100x31 cursor=55,27 |17: + \\areas, defer |18: + \\summed |19: ; |20: }; |21: exit 0 |22: -|23: ‹@p2 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Save Term Collapse Follow TreeContext Def -|24: Refs Del -|25: 3 pub const Shape = union(enum) { -|26: 4 circle: f32, -|27: 5 square: f32, -|28: 6 triangle: struct { base: f32, height: f32 }, -|29: 7 +|23: ‹@p2 › /tmp/pardes-snap/diffview/cwd/src/shape.zig Keep Del +|24: 3 pub const Shape = union(enum) { +|25: 4 circle: f32, +|26: 5 square: f32, +|27: 6 triangle: struct { base: f32, height: f32 }, +|28: 7 +|29: 8 const note = |
