aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.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/math.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/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);