fn testDirnameWindows(input: []const u8, expected_output: ?[]const u8) !void input: []const u8expected_output: ?[]const u81412
1413
1414
1415
1416
1417
1418fn testDirnameWindows(input: []const u8, expected_output: ?[]const u8) !void {
if (dirnameWindows(input)) |output| {
try testing.expectEqualStrings(expected_output.?, output);
} else {
try testing.expect(expected_output == null);
}
}