From 16b3d1004ee520341839305826fe065eb5d8c818 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Sun, 25 Feb 2024 23:31:53 -0800 Subject: 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" --- lib/std/Thread/ResetEvent.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/std/Thread/ResetEvent.zig') diff --git a/lib/std/Thread/ResetEvent.zig b/lib/std/Thread/ResetEvent.zig index cd74f337fb..431d54e852 100644 --- a/lib/std/Thread/ResetEvent.zig +++ b/lib/std/Thread/ResetEvent.zig @@ -157,7 +157,7 @@ const FutexImpl = struct { } }; -test "ResetEvent - smoke test" { +test "smoke test" { // make sure the event is unset var event = ResetEvent{}; try testing.expectEqual(false, event.isSet()); @@ -181,7 +181,7 @@ test "ResetEvent - smoke test" { try testing.expectEqual(true, event.isSet()); } -test "ResetEvent - signaling" { +test "signaling" { // This test requires spawning threads if (builtin.single_threaded) { return error.SkipZigTest; @@ -242,7 +242,7 @@ test "ResetEvent - signaling" { try ctx.input(); } -test "ResetEvent - broadcast" { +test "broadcast" { // This test requires spawning threads if (builtin.single_threaded) { return error.SkipZigTest; -- cgit v1.2.3