diff options
| author | LemonBoy <thatlemon@gmail.com> | 2021-01-22 15:45:28 +0100 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2021-01-22 15:46:58 +0100 |
| commit | 134f5fd3d690cfdce2ab7d622cb233b3e510bf3a (patch) | |
| tree | e841be427472bffae23efd649212a6e4e0cac8bd /lib/std/Thread.zig | |
| parent | ac004e1bf13d00804c30f55d479b554774798307 (diff) | |
| download | zig-134f5fd3d690cfdce2ab7d622cb233b3e510bf3a.tar.gz zig-134f5fd3d690cfdce2ab7d622cb233b3e510bf3a.zip | |
std: Update `test ""` to `test` where it makes sense
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index 82111c5759..ea878bbdb0 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -553,7 +553,7 @@ pub fn getCurrentThreadId() u64 { } } -test "" { +test { if (!builtin.single_threaded) { std.testing.refAllDecls(@This()); } |
