Skip to content

Commit

Permalink
Remove assertion on Mhz, is done in .parse_cpu_for
Browse files Browse the repository at this point in the history
* closes #107
* should remove that flakyness for running on some machines
  • Loading branch information
PragTob committed Aug 1, 2017
1 parent f6b1145 commit 12cb12a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/benchee/system_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ defmodule Benchee.SystemTest do
assert Enum.member?([:Linux, :macOS, :Windows], Benchee.System.os())
end

test ".cpu_speed returns the speed of the current cpu" do
assert Benchee.System.cpu_speed() =~ ~r/\d+.*hz/i
test ".cpu_speed returns a string (more accurate tests in .parse_cpu_for)" do
assert "" <> _actual_content = Benchee.System.cpu_speed()
end

describe ".parse_cpu_for" do
Expand Down

0 comments on commit 12cb12a

Please sign in to comment.