Skip to content

Commit

Permalink
Allow updating .result files
Browse files Browse the repository at this point in the history
Follows up #23
Fixes #35
  • Loading branch information
ligurio committed Sep 5, 2022
1 parent 8cf949f commit 86e866b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2825,8 +2825,7 @@ sub process {
}

if (!$warned_about_test_result_file &&
$realfile =~ /^test\/.*\.result$/ &&
$line =~ /^\+/) {
$realfile =~ /^test\/.*\.result$/) {
$warned_about_test_result_file = 1;
ERROR("TEST_RESULT_FILE",
"Please avoid tests with .result files\n");
Expand Down

0 comments on commit 86e866b

Please sign in to comment.