Fix readlink smoke test

This commit is contained in:
Jakub Konka 2020-07-15 00:28:45 +02:00
parent 99e3e29e2e
commit 4894de2b32

View File

@ -87,7 +87,7 @@ test "readlink" {
var buffer: [fs.MAX_PATH_BYTES]u8 = undefined; var buffer: [fs.MAX_PATH_BYTES]u8 = undefined;
const given = try os.readlink(symlink_path, buffer[0..]); const given = try os.readlink(symlink_path, buffer[0..]);
std.debug.warn("given={}\n", .{given}); std.debug.warn("given={}\n", .{given});
expect(mem.eql(u8, symlink_path, given)); expect(mem.eql(u8, target_path, given));
} }
} }