fix: correct pluralization in the non-import reference warning

Live smoke printed 'reference s to moved files' (the plural 's' was
separated from the noun by the format placeholder). The e2e now pins
the exact warning text.
This commit is contained in:
loki5512344 2026-09-15 19:50:54 +02:00
parent 1ddf79b508
commit 98e1f4a3d3
Signed by: boba
GPG key ID: 253067914055423B

View file

@ -47,7 +47,7 @@ fn human_dry_run_warns_on_stderr_and_exits_zero() {
jmove(&tmp, &["mv", "lib/sum.ts", "lib/total.ts", "--dry-run"])
.success()
.stderr(
predicate::str::contains("non-import reference")
predicate::str::contains("3 non-import references to moved files")
.and(predicate::str::contains("README.md:1"))
.and(predicate::str::contains("__tests__/sum.test.ts:1")),
);