summaryrefslogtreecommitdiff
path: root/tests/misc/test-diag.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/test-diag.pl')
-rwxr-xr-xtests/misc/test-diag.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/test-diag.pl b/tests/misc/test-diag.pl
index 91356ef56..f543f9f09 100755
--- a/tests/misc/test-diag.pl
+++ b/tests/misc/test-diag.pl
@@ -26,8 +26,8 @@ use strict;
my @Tests =
(
# In coreutils-5.93, this diagnostic lacked the newline.
- ['o', '-o arg', {ERR => "test: extra argument '-o'\n"},
- {ERR_SUBST => 's!^.*:!test:!'},
+ ['o', '-o arg', {ERR => "test: '-o': unary operator expected\n"},
+ {ERR_SUBST => 's!^.*test:!test:!'},
{EXIT => 2}],
);