Skip to content

Commit

Permalink
test3 for 'warning: '
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoefmoraes committed Jan 12, 2024
1 parent 1c92536 commit f3e7652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mix/tasks/compile/surface_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ defmodule Mix.Tasks.Compile.SurfaceTest do
capture_io(:standard_error, fn ->
assert {:ok, [^diagnostic]} = handle_diagnostics([diagnostic], [])
end)

IO.inspect(output)
assert output =~ IO.ANSI.format([:yellow, "warning: "]) |> IO.iodata_to_binary()
assert output =~ IO.ANSI.format([:yellow, "warning:"]) |> IO.iodata_to_binary()
assert output == "what?"
Expand Down

0 comments on commit f3e7652

Please sign in to comment.