aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_hardware.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_hardware.rb')
-rw-r--r--Library/Homebrew/test/test_hardware.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_hardware.rb b/Library/Homebrew/test/test_hardware.rb
index 6b05bde30..9f77349d1 100644
--- a/Library/Homebrew/test/test_hardware.rb
+++ b/Library/Homebrew/test/test_hardware.rb
@@ -3,11 +3,11 @@ require 'hardware'
class HardwareTests < Homebrew::TestCase
def test_hardware_cpu_type
- assert [:intel, :ppc].include?(Hardware::CPU.type)
+ assert_includes [:intel, :ppc], Hardware::CPU.type
end
def test_hardware_intel_family
families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell]
- assert families.include?(Hardware::CPU.family)
+ assert_includes families, Hardware::CPU.family
end if Hardware::CPU.intel?
end