-Code.require_file "../../test_helper.exs", __DIR__
+Code.require_file("../../test_helper.exs", __DIR__)
 
 defmodule Mix.Tasks.Compile.AppTest do
   use MixTest.Case
 
   defmodule CustomProject do
     def project do
-      [app: :custom_project, version: "0.2.0",
-       description: "Some UTF-8 description (uma descrição em UTF-8)"]
+      [
+        app: :custom_project,
+        version: "0.2.0",
+        description: "Some UTF-8 description (uma descrição em UTF-8)"
+      ]
     end
 
     def application do
-      [maxT: :infinity,
-       applications: [:example_app],
-       extra_applications: [:logger]]
+      [maxT: :infinity, applications: [:example_app], extra_applications: [:logger]]
     end
   end
 

  end

  test "raise on invalid version" do
    Mix.Project.push InvalidVsnProject

    in_fixture "no_mixfile", fn ->
      message = "Expected :version to be a SemVer version, got: \"0.3\""
      assert_raise Mix.Error, message, fn ->
        Mix.Tasks.Compile.App.run([])
      end

  end

  test "generates .app file when changes happen" do
    Mix.Project.push(MixTest.Case.Sample)

    in_fixture "no_mixfile", fn ->
      Mix.Tasks.Compile.Elixir.run([])
