   end
 
   def handle_event({:case_finished, %ExUnit.TestCase{state: {:failed, failures}} = test_case}, config) do
-    formatted = format_test_case_failure(test_case, failures, config.failures_counter + 1,
+    formatted = format_test_case_failure(test_case, failures, config.failure_counter + 1,
                                          config.width, &formatter(&1, &2, config))
     print_failure(formatted, config)
-    {:ok, %{config | failures_counter: config.failures_counter + 1}}
+    {:ok, %{config | failure_counter: config.failure_counter + 1}}
   end
 
   ## Tracing

    end
  end

  defp update_tests_counter(tests_counter, %{tags: %{type: type}}) do
    Map.update(tests_counter, type, 1, &(&1 + 1))
  end

  ## Printing

      trace: opts[:trace],
      colors: Keyword.put_new(opts[:colors], :enabled, IO.ANSI.enabled?),
      width: get_terminal_width(),
      test_counter: %{},
      failure_counter: 0,
      skipped_counter: 0,
      invalid_counter: 0
    }
    {:ok, config}
  end
