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"
This commit is contained in:
Ryan Liptak
2024-02-25 23:31:53 -08:00
parent 1b79a42da0
commit 16b3d1004e
115 changed files with 757 additions and 754 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ pub fn format(
const expect = std.testing.expect;
const expectError = std.testing.expectError;
test "SemanticVersion format" {
test "format" {
// Many of these test strings are from https://github.com/semver/semver.org/issues/59#issuecomment-390854010.
// Valid version strings should be accepted.
@@ -277,7 +277,7 @@ test "SemanticVersion format" {
if (parse(big_invalid)) |ver| std.debug.panic("expected error, found {}", .{ver}) else |_| {}
}
test "SemanticVersion precedence" {
test "precedence" {
// SemVer 2 spec 11.2 example: 1.0.0 < 2.0.0 < 2.1.0 < 2.1.1.
try expect(order(try parse("1.0.0"), try parse("2.0.0")) == .lt);
try expect(order(try parse("2.0.0"), try parse("2.1.0")) == .lt);