diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-25 11:40:12 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-25 11:40:12 -0600 |
| commit | 159002fdf9f9ead96dbe74683c83423a3a56b564 (patch) | |
| tree | 0fa6da98b932c2975c75f52e33489c0b3b3e5751 /spec/unit/core | |
| parent | 906d50df46fdb9eb4cc238c0c7714c0d85ed6a0e (diff) | |
Fix linter errors
Diffstat (limited to 'spec/unit/core')
| -rw-r--r-- | spec/unit/core/guess_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/core/guess_spec.rb b/spec/unit/core/guess_spec.rb index cc90b7b..27ac8c6 100644 --- a/spec/unit/core/guess_spec.rb +++ b/spec/unit/core/guess_spec.rb @@ -40,7 +40,7 @@ RSpec.describe Spandx::Core::Guess do pending 'does not contain any duplicate names' do items = Hash.new { |hash, key| hash[key] = 0 } active_licenses.each { |license| items[license.name] += 1 } - expect(items.find_all { |x, y| y > 1 }).to be_empty + expect(items.find_all { |_x, y| y > 1 }).to be_empty end context 'when guessing the spandx license' do |
