aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-02-25 23:59:48 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-26 14:41:33 -0500
commitf74a856d84af4c43057febc0a871caa0e69bbfc8 (patch)
tree2d8085b7ee73aaabdce3a5f5fba5525de034e75f /test/tests.zig
parentc5aa680c88f7c03718460ff38e7cb1f7c5482cf2 (diff)
downloadzig-f74a856d84af4c43057febc0a871caa0e69bbfc8.tar.gz
zig-f74a856d84af4c43057febc0a871caa0e69bbfc8.zip
reword deprecated error slightly
"found" -> "reached" to match "reached unreachable code"
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.zig b/test/tests.zig
index e8bbca2963..694b0002f4 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -1180,7 +1180,7 @@ pub fn addCliTests(b: *std.Build) *Step {
// Test `zig build -fallow-deprecated`.
const deprecated_check: std.Build.Step.Run.StdIo.Check = .{
- .expect_stderr_match = "found deprecated code",
+ .expect_stderr_match = "reached deprecated code",
};
const tmp_path = b.makeTempPath();