From 8bea66e0aeb45fdfed79d15412bfcbcfc2b3d7fa Mon Sep 17 00:00:00 2001 From: eksperimental Date: Sat, 29 Oct 2016 02:47:44 +0700 Subject: [PATCH] Add double-quotes to command in Mix raise msg --- lib/mix/lib/mix/tasks/xref.ex | 2 +- lib/mix/test/mix/tasks/xref_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mix/lib/mix/tasks/xref.ex b/lib/mix/lib/mix/tasks/xref.ex index 0577096eee..c6b874016f 100644 --- a/lib/mix/lib/mix/tasks/xref.ex +++ b/lib/mix/lib/mix/tasks/xref.ex @@ -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 diff --git a/lib/mix/test/mix/tasks/xref_test.exs b/lib/mix/test/mix/tasks/xref_test.exs index e2cc37e785..f803bc6e17 100644 --- a/lib/mix/test/mix/tasks/xref_test.exs +++ b/lib/mix/test/mix/tasks/xref_test.exs @@ -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