mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Bump WebKit (#18784)
Co-authored-by: Ben Grant <ben@bun.sh> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
This commit is contained in:
@@ -352,9 +352,7 @@ pub const JunitReporter = struct {
|
||||
try this.contents.appendSlice(bun.default_allocator, "\"");
|
||||
|
||||
const elapsed_seconds = elapsed_ms / std.time.ms_per_s;
|
||||
var time_buf: [32]u8 = undefined;
|
||||
const time_str = try std.fmt.bufPrint(&time_buf, " time=\"{d}\"", .{elapsed_seconds});
|
||||
try this.contents.appendSlice(bun.default_allocator, time_str);
|
||||
try this.contents.writer(bun.default_allocator).print(" time=\"{}\"", .{bun.fmt.trimmedPrecision(elapsed_seconds, 6)});
|
||||
|
||||
try this.contents.appendSlice(bun.default_allocator, " file=\"");
|
||||
try escapeXml(file, this.contents.writer(bun.default_allocator));
|
||||
|
||||
Reference in New Issue
Block a user