Fix the uninitialized constant error on Windows for Set.new

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
Vasu1105 2022-02-07 14:16:09 +05:30
parent e54d24d108
commit 7e23f0993a

View file

@ -1,5 +1,6 @@
require "rspec/core" require "rspec/core"
require "rspec/core/formatters/base_formatter" require "rspec/core/formatters/base_formatter"
require "set" unless defined?(Set)
module Inspec::Formatters module Inspec::Formatters
class Base < RSpec::Core::Formatters::BaseFormatter class Base < RSpec::Core::Formatters::BaseFormatter