Add double-quotes to command in Mix raise msg
This commit is contained in:
committed by
José Valim
parent
17fa3454b0
commit
8bea66e0ae
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user