提交 5e045eca 编写于 作者: J Ján Tomko

tests: fix the return value of test-wrap-argv

The script was returning success unless it failed on the last file.
This went unnoticed because sc_prohibit_long_lines forbids lines
longer than 90 characters in .arg[sv] files.
上级 212564a0
......@@ -39,8 +39,8 @@ if (@ARGV[0] eq "--in-place") {
shift @ARGV;
}
$ret = 0;
foreach my $file (@ARGV) {
$ret = 0;
if (&rewrap($file) < 0) {
$ret = 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册