fn testArgvToCommandLineWindows(argv: []const []const u8, expected_cmd_line: []const u8) !void argv: []const []const u8expected_cmd_line: []const u817020
17021
17022
17023
17024
17025
17026
17027
17028fn testArgvToCommandLineWindows(argv: []const []const u8, expected_cmd_line: []const u8) !void {
const cmd_line_w = try argvToCommandLineWindows(std.testing.allocator, argv);
defer std.testing.allocator.free(cmd_line_w);
const cmd_line = try std.unicode.wtf16LeToWtf8Alloc(std.testing.allocator, cmd_line_w);
defer std.testing.allocator.free(cmd_line);
try std.testing.expectEqualStrings(expected_cmd_line, cmd_line);
}