Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/config.zig
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ test "loadFromFile keeps default host when unset" {
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();

try tmp.dir.writeFile(.{
try std_compat.fs.Dir.wrap(tmp.dir).writeFile(.{
.sub_path = "config.json",
.data =
\\{
Expand All @@ -121,7 +121,7 @@ test "loadFromFile keeps default host when unset" {
,
});

const cfg_path = try tmp.dir.realpathAlloc(std.testing.allocator, "config.json");
const cfg_path = try std_compat.fs.Dir.wrap(tmp.dir).realpathAlloc(std.testing.allocator, "config.json");
defer std.testing.allocator.free(cfg_path);

var arena = std.heap.ArenaAllocator.init(std.testing.allocator);
Expand Down
Loading