Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a build error for
Performance/ChainArrayAllocation
This PR fixes the following build error. ```console Failures: 1) RuboCop::Cop::Performance::ChainArrayAllocation Methods that require an argument first Failure/Error: expect(cop.messages.empty?).to be(false) expected false got true # ./spec/rubocop/cop/performance/chain_array_allocation_spec.rb:39:in `block (3 levels) in <top (required)>' ``` https://circleci.com/gh/rubocop-hq/rubocop-performance/1775 rubocop/rubocop#7868 has detected this wrong test case and this PR fixed it.
- Loading branch information