diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-05 16:28:03 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-10 09:17:07 -0300 |
| commit | 79a8980e46d8ed1f9ef7e3f4e44db7ee58e9f88e (patch) | |
| tree | 65ebb32c55b4b91efc6f23c2142a0971a602611c /test/snapshot.zig | |
| parent | 1891a51ed2b64eec3964d3af3807be90d08a14c2 (diff) | |
| download | pardes-79a8980e46d8ed1f9ef7e3f4e44db7ee58e9f88e.tar.gz pardes-79a8980e46d8ed1f9ef7e3f4e44db7ee58e9f88e.zip | |
add the transient message row
Diffstat (limited to 'test/snapshot.zig')
| -rw-r--r-- | test/snapshot.zig | 8 |
1 files changed, 5 insertions, 3 deletions
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 |
