# File lib/puppet/provider/confine.rb, line 23
23:   def self.test(name)
24:     unless @tests[name]
25:       begin
26:         require "puppet/provider/confine/#{name}"
27:       rescue LoadError => detail
28:         unless detail.to_s =~ /No such file/i
29:           warn "Could not load confine test '#{name}': #{detail}"
30:         end
31:         # Could not find file
32:       end
33:     end
34:     @tests[name]
35:   end