Sbarazzarsi di Found Quoted Keyword Warning in Phoenix

mix phx.server
warning: found quoted keyword "test" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them

Cambia il seguente all'interno di mix.exs da

defp aliases do
  [
    "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
    "ecto.reset": ["ecto.drop", "ecto.setup"],
    "test": ["ecto.create --quiet", "ecto.migrate", "test"]
  ]
end

a

defp aliases do
  [
    {:"ecto.setup", ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"]},
    {:"ecto.reset", ["ecto.drop", "ecto.setup"]},
    test: ["ecto.create --quiet", "ecto.migrate", "test"]
  ]
end