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:
Adam Leff 2017-06-06 07:25:04 -04:00
parent 3171f46c7d
commit 5f58450ccd
No known key found for this signature in database
GPG key ID: 7A5136DE1C1112F8

View file

@ -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