['8-bit-pfx', qw (-p 'ç'),
{IN=> "ça\nçb\n"},
{OUT=>"ça b\n"}],
- ['wide-1', '-32768', {IN=> "a\n"}, {OUT=>"a\n"}],
- ['wide-2', '-2147483647', {IN=> "a\n"}, {OUT=>"a\n"}],
+ ['wide-1', '-w 32768',
+ {ERR => "fmt: invalid width: `32768'\n"}, {EXIT => 1}],
+ ['wide-2', '-w 2147483647',
+ {ERR => "fmt: invalid width: `2147483647'\n"}, {EXIT => 1}],
['bad-suffix', '-72x', {IN=> ''},
- {ERR => "fmt: invalid width option: `-72x'\n"}, {EXIT => 1}],
+ {ERR => "fmt: invalid width: `72x'\n"}, {EXIT => 1}],
['no-file', 'no-such-file',
{ERR => "fmt: cannot open `no-such-file' for reading:"
. " No such file or directory\n"}, {EXIT => 1}],