fix: more test fixes

This commit is contained in:
CJ van den Berg 2026-02-26 14:47:38 +01:00
parent 20c167b37d
commit 9679b0cedf
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ fn makeTempDir(allocator: std.mem.Allocator) ![]u8 {
const name = try std.fmt.allocPrint(
allocator,
"/tmp/nightwatch_test_{d}_{d}",
.{ std.os.linux.getpid(), n },
.{ std.c.getpid(), n },
);
errdefer allocator.free(name);
try std.fs.makeDirAbsolute(name);