Skip to content

Commit eb9def6

Browse files
committed
ngx-releng: checks misuse of repeat_each in tests.
1 parent 408ed73 commit eb9def6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ngx-releng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ ack '^static .*?\(\);' $cfiles /dev/null
3232
ack '^[a-zA-Z]\w+\(\)$' $cfiles /dev/null
3333
ack '^\#\s*define\s+ngx_http_\w+?_version\s+\d+$' $cfiles /dev/null
3434
ack '\b(?:if|for|while)\(|\bdo\{' $cfiles /dev/null
35+
ack '^\s*plan\s+tests\s*=>.*?repeat_each\(\d+\)' t /dev/null
3536

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

0 commit comments

Comments
 (0)