diff --git a/test/mix/tasks/compile/surface_test.exs b/test/mix/tasks/compile/surface_test.exs index aaf44b8b..4be4a9a7 100644 --- a/test/mix/tasks/compile/surface_test.exs +++ b/test/mix/tasks/compile/surface_test.exs @@ -79,7 +79,7 @@ defmodule Mix.Tasks.Compile.SurfaceTest do assert {:ok, [^diagnostic]} = handle_diagnostics([diagnostic], []) end) - assert output =~ IO.ANSI.format([:yellow, "warning:"]) |> IO.iodata_to_binary() + assert output =~ "warning:" assert output =~ "test warning\n file.ex:1: (file)\n\n" end