aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-04-21 20:46:05 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-04-21 23:08:48 -0400
commit3f1c51ca906719fe2a064a73295ada230e34f1c2 (patch)
tree729f9ef62d288efb160e4783a5b2dd1ef00dc698 /lib/std/Thread.zig
parent08a8aa100d73bd87e6c39563d8f5c6186217afb3 (diff)
downloadzig-3f1c51ca906719fe2a064a73295ada230e34f1c2.tar.gz
zig-3f1c51ca906719fe2a064a73295ada230e34f1c2.zip
std: remove names from incorrectly named tests
Tests that only reference decls for the purpose of analyzing more tests should be unnamed, otherwise trying to filter for just a referenced test can become impossible depending on the names.
Diffstat (limited to 'lib/std/Thread.zig')
-rw-r--r--lib/std/Thread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig
index d4e5c25f36..f2a78100ad 100644
--- a/lib/std/Thread.zig
+++ b/lib/std/Thread.zig
@@ -1141,7 +1141,7 @@ test "setName, getName" {
thread.join();
}
-test "std.Thread" {
+test {
// Doesn't use testing.refAllDecls() since that would pull in the compileError spinLoopHint.
_ = Futex;
_ = ResetEvent;