aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread/Condition.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-02-26 23:43:02 -0800
committerGitHub <noreply@github.com>2024-02-26 23:43:02 -0800
commit085bde6889925b486291ddf1450b6bb6c8562a8f (patch)
tree02f7a49b4378dc2387b825bfc19825405f4502ca /lib/std/Thread/Condition.zig
parent4e2570baafb587c679ee0fc5e113ddeb36522a5d (diff)
parent726a1149e05669e5cc05a16ce877bbb2be787e39 (diff)
downloadzig-085bde6889925b486291ddf1450b6bb6c8562a8f.tar.gz
zig-085bde6889925b486291ddf1450b6bb6c8562a8f.zip
Merge pull request #19087 from squeek502/redundant-test-naming
Remove redundant test name prefixes now that test names are fully qualified
Diffstat (limited to 'lib/std/Thread/Condition.zig')
-rw-r--r--lib/std/Thread/Condition.zig12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/std/Thread/Condition.zig b/lib/std/Thread/Condition.zig
index 83e5134538..b1154f8bd0 100644
--- a/lib/std/Thread/Condition.zig
+++ b/lib/std/Thread/Condition.zig
@@ -296,7 +296,7 @@ const FutexImpl = struct {
}
};
-test "Condition - smoke test" {
+test "smoke test" {
var mutex = Mutex{};
var cond = Condition{};
@@ -317,7 +317,7 @@ test "Condition - smoke test" {
}
// Inspired from: https://github.com/Amanieu/parking_lot/pull/129
-test "Condition - wait and signal" {
+test "wait and signal" {
// This test requires spawning threads
if (builtin.single_threaded) {
return error.SkipZigTest;
@@ -362,7 +362,7 @@ test "Condition - wait and signal" {
}
}
-test "Condition - signal" {
+test signal {
// This test requires spawning threads
if (builtin.single_threaded) {
return error.SkipZigTest;
@@ -429,7 +429,7 @@ test "Condition - signal" {
}
}
-test "Condition - multi signal" {
+test "multi signal" {
// This test requires spawning threads
if (builtin.single_threaded) {
return error.SkipZigTest;
@@ -491,7 +491,7 @@ test "Condition - multi signal" {
}
}
-test "Condition - broadcasting" {
+test broadcast {
// This test requires spawning threads
if (builtin.single_threaded) {
return error.SkipZigTest;
@@ -557,7 +557,7 @@ test "Condition - broadcasting" {
}
}
-test "Condition - broadcasting - wake all threads" {
+test "broadcasting - wake all threads" {
// Tests issue #12877
// This test requires spawning threads
if (builtin.single_threaded) {