fn testResponseFileCmdLine(input_cmd_line: []const u8, expected_args: []const []const u8) !void input_cmd_line: []const u8expected_args: []const []const u8967
968
969
970
971
972
973
974
975
976fn testResponseFileCmdLine(input_cmd_line: []const u8, expected_args: []const []const u8) !void {
var it = try IteratorGeneral(.{ .comments = true, .single_quotes = true })
.init(std.testing.allocator, input_cmd_line);
defer it.deinit();
for (expected_args) |expected_arg| {
const arg = it.next().?;
try testing.expectEqualStrings(expected_arg, arg);
}
try testing.expect(it.next() == null);
}