1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-09 10:11:34 +02:00

tests: narrow scope of faulty join args

* tests/misc/join.pl: Only test invalid-j with an invalid -j field,
not with missing operands as well.
This commit is contained in:
Justin Tracey
2021-09-03 11:46:53 -04:00
committed by Pádraig Brady
parent 669d45de0f
commit 1d5dbb8203
+1 -1
View File
@@ -176,7 +176,7 @@ my @tv = (
["a\n", "b\n"], " a b\n", 0],
# FIXME: change this to ensure the diagnostic makes sense
['invalid-j', '-j x', {}, "", 1,
['invalid-j', '-j x', ["", ""], "", 1,
"$prog: invalid field number: 'x'\n"],
# With ordering check, inputs in order