Commit 503302ceef
Changed files (2)
src
test
cases
compile_errors
src/Module.zig
@@ -5354,7 +5354,7 @@ fn scanDecl(iter: *ScanDeclIter, decl_sub_index: usize, flags: u4) Allocator.Err
const msg = try ErrorMsg.create(
gpa,
src_loc,
- "found test declaration with duplicate name: {s}",
+ "duplicate test name: {s}",
.{decl_name},
);
errdefer msg.destroy(gpa);
test/cases/compile_errors/invalid_duplicate_test_decl_name.zig
@@ -6,5 +6,5 @@ test "thingy" {}
// target=native
// is_test=1
//
-// :1:6: error: found test declaration with duplicate name: test.thingy
+// :1:6: error: duplicate test name: test.thingy
// :2:6: note: other test here