diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-17 12:11:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-17 12:11:44 +0300 |
commit | e750680e89a6f98803709c172943962741eeb9e7 (patch) | |
tree | d3e28a3692460fb37c4891d646220d06e68dfa3d /scripts/qa | |
parent | a17e8b168778e5a107928671fd2829ab284e612d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/qa')
-rwxr-xr-x | scripts/qa/testcases-check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qa/testcases-check b/scripts/qa/testcases-check index 1d7a9d04e7b..12af15fe73f 100755 --- a/scripts/qa/testcases-check +++ b/scripts/qa/testcases-check @@ -51,9 +51,9 @@ tests.each do |test| end end -testcase_list = testcases.group_by {|testcase| testcase.shift}.transform_values(&:flatten) +testcase_list = testcases.group_by { |testcase| testcase.shift }.transform_values(&:flatten) -duplicates = testcase_list.select {|k, v| v.count > 1} +duplicates = testcase_list.select { |k, v| v.count > 1 } unless duplicates.empty? duplicates.each do |duplicate| |