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 authored and Pádraig Brady committed 2021-09-05 12:10:41 +01:00
1 parent 669d45de0f
commit 1d5dbb8203
1 file changed
+1 -1
+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