pub fn failPrintWithVisibleNewlines(source: []const u8) void source: []const u81050
1051
1052
1053
1054
1055
1056pub fn failPrintWithVisibleNewlines(source: []const u8) void {
var i: usize = 0;
while (std.mem.findScalar(u8, source[i..], '\n')) |nl| : (i += nl + 1) {
failPrintLine(source[i..][0..nl]);
}
failPrint("{s}␃\n", .{source[i..]}); // End of Text symbol (ETX)
}
Helper function for printing test failure information.