diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-05-18 14:32:52 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-05-18 19:17:04 -0700 |
| commit | 503302ceef7290027eedcc78c903be32fad90433 (patch) | |
| tree | 87d9e953fa2fd4861b6467960f68ad6de334289d /test/cases/compile_errors | |
| parent | b9d2e0e308794463db1b1acf04d76778c470a070 (diff) | |
| download | zig-503302ceef7290027eedcc78c903be32fad90433.tar.gz zig-503302ceef7290027eedcc78c903be32fad90433.zip | |
Sema: simplify "duplicate test name" error message
* Avoid redundant words ("found")
- All compile errors are found by the compiler
* Avoid unnecessary prepositions ("with")
- There is a grammatically correct alternate word order without the
preposition.
Diffstat (limited to 'test/cases/compile_errors')
| -rw-r--r-- | test/cases/compile_errors/invalid_duplicate_test_decl_name.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/compile_errors/invalid_duplicate_test_decl_name.zig b/test/cases/compile_errors/invalid_duplicate_test_decl_name.zig index e27bbe7c1a..c3ecdbf4fc 100644 --- a/test/cases/compile_errors/invalid_duplicate_test_decl_name.zig +++ b/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 |
