diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-26 23:43:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 23:43:02 -0800 |
| commit | 085bde6889925b486291ddf1450b6bb6c8562a8f (patch) | |
| tree | 02f7a49b4378dc2387b825bfc19825405f4502ca /lib/std/Thread/Futex.zig | |
| parent | 4e2570baafb587c679ee0fc5e113ddeb36522a5d (diff) | |
| parent | 726a1149e05669e5cc05a16ce877bbb2be787e39 (diff) | |
| download | zig-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/Futex.zig')
| -rw-r--r-- | lib/std/Thread/Futex.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/Thread/Futex.zig b/lib/std/Thread/Futex.zig index 60f889f694..b6f37feda4 100644 --- a/lib/std/Thread/Futex.zig +++ b/lib/std/Thread/Futex.zig @@ -881,7 +881,7 @@ const PosixImpl = struct { } }; -test "Futex - smoke test" { +test "smoke test" { var value = atomic.Value(u32).init(0); // Try waits with invalid values. @@ -898,7 +898,7 @@ test "Futex - smoke test" { Futex.wake(&value, std.math.maxInt(u32)); } -test "Futex - signaling" { +test "signaling" { // This test requires spawning threads if (builtin.single_threaded) { return error.SkipZigTest; @@ -952,7 +952,7 @@ test "Futex - signaling" { for (paddles) |p| try testing.expectEqual(p.current, num_iterations); } -test "Futex - broadcasting" { +test "broadcasting" { // This test requires spawning threads if (builtin.single_threaded) { return error.SkipZigTest; @@ -1054,7 +1054,7 @@ pub const Deadline = struct { } }; -test "Futex - Deadline" { +test "Deadline" { var deadline = Deadline.init(100 * std.time.ns_per_ms); var futex_word = atomic.Value(u32).init(0); |
