Add double-quotes to command in Mix raise msg

This commit is contained in:
eksperimental
2016-10-29 20:59:58 +02:00
committed by José Valim
parent 17fa3454b0
commit 8bea66e0ae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ defmodule Mix.Tasks.Xref do
["graph"] ->
graph(opts)
_ ->
Mix.raise "xref doesn't support this command, see mix help xref for more information"
Mix.raise "xref doesn't support this command, see \"mix help xref\" for more information"
end
end
+1 -1
View File
@@ -451,7 +451,7 @@ defmodule Mix.Tasks.XrefTest do
test "callers: no argument gives error" do
in_fixture "no_mixfile", fn ->
message = "xref doesn't support this command, see mix help xref for more information"
message = "xref doesn't support this command, see \"mix help xref\" for more information"
assert_raise Mix.Error, message, fn ->
assert Mix.Task.run("xref", ["callers"]) == :error