add the openDir cwd parent test

This commit is contained in:
Jonathan Marler 2021-04-02 13:17:06 -06:00
parent a72ad61cd4
commit 59de5d0350

View File

@ -92,6 +92,13 @@ test "openDirAbsolute" {
}
}
test "openDir cwd parent .." {
if (builtin.os.tag == .wasi) return error.SkipZigTest;
var cwd = try fs.cwd().openDir("..", .{});
defer cwd.close();
}
test "readLinkAbsolute" {
if (builtin.os.tag == .wasi) return error.SkipZigTest;