aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2024-02-25 23:31:53 -0800
committerRyan Liptak <squeek502@hotmail.com>2024-02-26 15:18:31 -0800
commit16b3d1004ee520341839305826fe065eb5d8c818 (patch)
treeeac514666f5f49e2d77b3aa82efaac901151bbee /lib/std/math.zig
parent1b79a42da096fcdeac22b56f17f82b0c7ec22a9b (diff)
downloadzig-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/math.zig')
-rw-r--r--lib/std/math.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig
index d223b79484..11ab9189fa 100644
--- a/lib/std/math.zig
+++ b/lib/std/math.zig
@@ -1298,7 +1298,7 @@ pub fn log2_int_ceil(comptime T: type, x: T) Log2IntCeil(T) {
return log2_val + 1;
}
-test "std.math.log2_int_ceil" {
+test log2_int_ceil {
try testing.expect(log2_int_ceil(u32, 1) == 0);
try testing.expect(log2_int_ceil(u32, 2) == 1);
try testing.expect(log2_int_ceil(u32, 3) == 2);