Fix test failure on ivybridge cpus.

Closes Homebrew/homebrew#18371.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Tobias Lidskog 2013-02-28 21:57:14 +01:00 committed by Adam Vandenberg
parent 00f05eafe9
commit a4a795c096

View File

@ -10,7 +10,8 @@ class HardwareTests < Test::Unit::TestCase
def test_hardware_intel_family
if Hardware.cpu_type == :intel
assert [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge].include?(Hardware.intel_family)
assert [:core, :core2, :penryn, :nehalem,
:arrandale, :sandybridge, :ivybridge].include?(Hardware.intel_family)
end
end
end