-Code.require_file "../../test_helper.exs", __DIR__
+Code.require_file("../../test_helper.exs", __DIR__)
 
 defmodule Mix.Tasks.Profile.CprofTest do
   use MixTest.Case

  test "warmup", context do
    in_tmp context.test, fn ->
      assert capture_io(fn ->
        Cprof.run(["-e", @expr])
      end) =~ "Warmup..."

      refute capture_io(fn ->
        Cprof.run(["-e", "Enum.each(1..5, fn(_) -> MapSet.new end)", "--no-warmup"])
      end) =~ "Warmup..."
    end
  end
end

  test "profiles evaluated expression", context do
    in_tmp context.test, fn ->
      assert capture_io(fn ->
               Cprof.run(["-e", @expr])
             end) =~ ~r(String\.Chars\.Integer\.to_string\/1 *\d)
    end
  end

