Skip to content

Commit 07be6b1

Browse files
committed
ts: add tests to improve --width option coverage
1 parent 9b8c3ce commit 07be6b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testsuite/modules.70-maint/350-term_width.exp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ unsetenv_var MODULES_TERM_WIDTH
286286

287287
unsetenv_var MODULES_TERM_WIDTH
288288
testerr_cmd sh {avail loc_rc --width=0} $width_0
289+
testerr_cmd sh {avail loc_rc --width} $width_0
289290
testerr_cmd sh {avail loc_rc -w 0} $width_0
290291
testerr_cmd sh {avail loc_rc --width=1} $width_1
291292
testerr_cmd sh {avail loc_rc -w 1} $width_1
@@ -426,6 +427,7 @@ unsetenv_var MODULES_TERM_WIDTH
426427

427428
unsetenv_var MODULES_TERM_WIDTH
428429
testerr_cmd sh {list --width=0} $width_0
430+
testerr_cmd sh {list --width=} $width_0
429431
testerr_cmd sh {list -w 1} $width_1
430432
testerr_cmd sh {list --width=80} $width_80
431433

0 commit comments

Comments
 (0)