From 1a42d87e3b7d90f2a5cb0d8bc6c54a27fbf022a5 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Thu, 19 Apr 2018 23:25:39 +0300 Subject: Allow rubocop check more files This commit fix pattern of filenames for `CustomCops/AssertNot` and `CustomCops/RefuteNot`. rubocop should check every file under `test/`. Related to #32441, #32605 --- .rubocop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 08d1c875dc..afd5d6228d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -14,12 +14,12 @@ AllCops: # Prefer assert_not_x over refute_x CustomCops/RefuteNot: Include: - - '**/*_test.rb' + - '**/test/**/*' # Prefer assert_not over assert ! CustomCops/AssertNot: Include: - - '**/*_test.rb' + - '**/test/**/*' # Prefer &&/|| over and/or. Style/AndOr: -- cgit v1.2.3