fn testDirnameWindows(input: []const u8, expected_output: ?[]const u8) !void
fn 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); } }