diff --git a/lib/std/os/test.zig b/lib/std/os/test.zig index 3ef1006b0a..597ec88951 100644 --- a/lib/std/os/test.zig +++ b/lib/std/os/test.zig @@ -87,7 +87,7 @@ test "readlink" { var buffer: [fs.MAX_PATH_BYTES]u8 = undefined; const given = try os.readlink(symlink_path, buffer[0..]); std.debug.warn("given={}\n", .{given}); - expect(mem.eql(u8, symlink_path, given)); + expect(mem.eql(u8, target_path, given)); } }