mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +00:00
Remove commented-out deprecation warning
We can add it back in when we have a better solution and we actually want to deprecate it. Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
3171f46c7d
commit
5f58450ccd
1 changed files with 0 additions and 1 deletions
|
@ -88,7 +88,6 @@ end
|
|||
|
||||
RSpec::Matchers.define :contain_duplicates do
|
||||
match do |arr|
|
||||
# warn '[DEPRECATION] `contain_duplicates` is deprecated and will be removed in the next major version. See https://github.com/chef/inspec/issues/738 for more details'
|
||||
dup = arr.select { |element| arr.count(element) > 1 }
|
||||
!dup.uniq.empty?
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue