Skip to content

Commit 86e866b

Browse files
committed
Allow updating .result files
Follows up #23 Fixes #35
1 parent 8cf949f commit 86e866b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

checkpatch.pl

+1-2
Original file line numberDiff line numberDiff line change
@@ -2825,8 +2825,7 @@ sub process {
28252825
}
28262826

28272827
if (!$warned_about_test_result_file &&
2828-
$realfile =~ /^test\/.*\.result$/ &&
2829-
$line =~ /^\+/) {
2828+
$realfile =~ /^test\/.*\.result$/) {
28302829
$warned_about_test_result_file = 1;
28312830
ERROR("TEST_RESULT_FILE",
28322831
"Please avoid tests with .result files\n");

0 commit comments

Comments
 (0)