From 4894de2b326363c9a157411bf555d73b661c74c4 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Wed, 15 Jul 2020 00:28:45 +0200 Subject: [PATCH] Fix readlink smoke test --- lib/std/os/test.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }