diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-02-25 23:31:53 -0800 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2024-02-26 15:18:31 -0800 |
| commit | 16b3d1004ee520341839305826fe065eb5d8c818 (patch) | |
| tree | eac514666f5f49e2d77b3aa82efaac901151bbee /lib/std/Thread.zig | |
| parent | 1b79a42da096fcdeac22b56f17f82b0c7ec22a9b (diff) | |
| download | zig-16b3d1004ee520341839305826fe065eb5d8c818.tar.gz zig-16b3d1004ee520341839305826fe065eb5d8c818.zip | |
Remove redundant test name prefixes now that test names are fully qualified
Follow up to #19079, which made test names fully qualified.
This fixes tests that now-redundant information in their test names. For example here's a fully qualified test name before the changes in this commit:
"priority_queue.test.std.PriorityQueue: shrinkAndFree"
and the same test's name after the changes in this commit:
"priority_queue.test.shrinkAndFree"
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index ae794f44af..bf538c1b4f 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -1437,7 +1437,7 @@ fn testIncrementNotify(value: *usize, event: *ResetEvent) void { event.set(); } -test "Thread.join" { +test "join" { if (builtin.single_threaded) return error.SkipZigTest; var value: usize = 0; @@ -1449,7 +1449,7 @@ test "Thread.join" { try std.testing.expectEqual(value, 1); } -test "Thread.detach" { +test "detach" { if (builtin.single_threaded) return error.SkipZigTest; var value: usize = 0; |
