Skip to content

Commit

Permalink
Sort calls before comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Nov 30, 2017
1 parent 25dc8d8 commit abdd29d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/mix/test/mix/tasks/xref_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ defmodule Mix.Tasks.XrefTest do
end

Mix.Task.run("compile")

assert Mix.Tasks.Xref.calls() == expected
assert Enum.sort(Mix.Tasks.Xref.calls()) == Enum.sort(expected)
end
end

Expand Down

0 comments on commit abdd29d

Please sign in to comment.