brew/Library/Homebrew/test/test_os_mac_blacklist.rb
Martin Afanasjew 12413cb760 tests: fix duplicate test case class name
Rename test case class to avoid two definitions of `BlacklistTests`.
2016-07-28 22:09:07 +02:00

13 lines
265 B
Ruby

require "testing_env"
require "blacklist"
class OSMacBlacklistTests < Homebrew::TestCase
def assert_blacklisted(s)
assert blacklisted?(s), "'#{s}' should be blacklisted"
end
def test_xcode
%w[xcode Xcode].each { |s| assert_blacklisted s }
end
end