From 79a8980e46d8ed1f9ef7e3f4e44db7ee58e9f88e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 5 Aug 2026 16:28:03 -0300 Subject: add the transient message row --- test/snapshot.zig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/snapshot.zig') diff --git a/test/snapshot.zig b/test/snapshot.zig index 0a2b299d..39350bee 100644 --- a/test/snapshot.zig +++ b/test/snapshot.zig @@ -313,9 +313,11 @@ fn runScript(arena: std.mem.Allocator, exe_z: [:0]const u8, script_path: []const _ = setenv("XDG_CONFIG_HOME", config_home, 1); _ = setenv("TERM", "xterm-256color", 1); _ = setenv("LC_ALL", "C", 1); - // durations cannot live in a golden; the lsp introspection views print - // `-` for them when this is set (see lsp_zls.zig hideTime) - _ = setenv("PARDES_LSP_NOTIME", "1", 1); + // a wall clock cannot live in a golden; everything that would print one + // prints fixed characters instead when this is set — the lsp introspection + // views' durations (lsp_zls.zig hideTime) and the transient message row's + // time of day (message.zig stamp) + _ = setenv("PARDES_NOTIME", "1", 1); // Pin the dump path: live runs use a timestamped file under the user data // dir (dump.outPath), which would make the dump/load/restore goldens // nondeterministic. Per-SCRIPT, not one shared /tmp/pardes-dump.zon: four -- cgit v1.3