Skip to content

Commit

Permalink
ngx-releng: checks misuse of repeat_each in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Dec 28, 2014
1 parent 408ed73 commit eb9def6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngx-releng
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ack '^static .*?\(\);' $cfiles /dev/null
ack '^[a-zA-Z]\w+\(\)$' $cfiles /dev/null
ack '^\#\s*define\s+ngx_http_\w+?_version\s+\d+$' $cfiles /dev/null
ack '\b(?:if|for|while)\(|\bdo\{' $cfiles /dev/null
ack '^\s*plan\s+tests\s*=>.*?repeat_each\(\d+\)' t /dev/null

perl -e 'use strict; use warnings;
for my $fname (@ARGV) {
Expand Down

0 comments on commit eb9def6

Please sign in to comment.