fn testSanitizePath(expected: []const u8, input: []const u8, strip: u32) !void expected: []const u8input: []const u8strip: u32707
708
709
710
711fn testSanitizePath(expected: []const u8, input: []const u8, strip: u32) !void {
var buffer: [Io.Dir.max_path_bytes]u8 = undefined;
const result = buffer[0..try sanitizePath(&buffer, input, strip)];
try testing.expectEqualStrings(expected, result);
}