aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorWooster <wooster0@proton.me>2023-07-24 23:40:57 +0200
committerAndrew Kelley <andrew@ziglang.org>2023-07-25 11:05:14 -0700
commitb5a471db3cd9c041c091cd81eff37d73847a391e (patch)
tree50693f7160fde0661280027a2db496acac04a1b6 /lib/std/testing.zig
parentdc98b001f3740c00adb663f3ffac5bd5838cfe4f (diff)
downloadzig-b5a471db3cd9c041c091cd81eff37d73847a391e.tar.gz
zig-b5a471db3cd9c041c091cd81eff37d73847a391e.zip
ErrorBundle: remove extra newline
This is another minor change but still makes a visual difference and will reduce the amount you have to scroll in your terminal by a little bit. Reasoning: 1. The `for (0..src.data.reference_trace_len)` loop will run at least once due to the `src.data.reference_trace_len > 0` check above. 2. In all 3 branches of the `if` in that `for` it will print something. 3. The 3 strings of all of those prints already end in `\n`. Therefore, the extra `try stderr.writeByte('\n');` is unnecessary.
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions