diff options
| author | Bingwu Zhang <xtex@aosc.io> | 2025-06-14 14:38:32 +0800 |
|---|---|---|
| committer | Bingwu Zhang <xtex@aosc.io> | 2025-06-27 19:12:16 +0800 |
| commit | 5db395f20bab9766028d98ac51c4f1ea286d2f92 (patch) | |
| tree | fc9a0f4c5430af0b9c9be76a3d5f303c810b4057 /lib | |
| parent | 0adcfd60f4fcfd01c74a6477cbcef187ce06f533 (diff) | |
| download | zig-5db395f20bab9766028d98ac51c4f1ea286d2f92.tar.gz zig-5db395f20bab9766028d98ac51c4f1ea286d2f92.zip | |
compiler: test runner: fix tests never fails on crippled architectures
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/compiler/test_runner.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test_runner.zig b/lib/compiler/test_runner.zig index adbee7d07d..1ce2fbff3e 100644 --- a/lib/compiler/test_runner.zig +++ b/lib/compiler/test_runner.zig @@ -309,7 +309,7 @@ pub fn mainSimple() anyerror!void { stderr.writeAll("... ") catch {}; stderr.writeAll("PASS\n") catch {}; } - } else |err| if (enable_print) { + } else |err| { if (enable_print) { stderr.writeAll(test_fn.name) catch {}; stderr.writeAll("... ") catch {}; |
