File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ defmodule Mix.TaskTest do
4343 end
4444
4545 test "run/2 converts OptionParser.ParseError into Mix errors" do
46- message = "Could not invoke task \" hello\" : 1 error found!\n --unknown : Unknown option"
46+ message = ~r " Could not invoke task \" hello\" : 1 error found!\n --unknown : Unknown option"
4747
4848 assert_raise Mix.Error , message , fn ->
4949 Mix.Task . run ( "hello" , [ "--parser" , "--unknown" ] )
@@ -52,7 +52,7 @@ defmodule Mix.TaskTest do
5252 Mix.Task . clear ( )
5353
5454 message =
55- "Could not invoke task \" hello\" : 1 error found!\n --int : Expected type integer, got \" foo\" "
55+ ~r " Could not invoke task \" hello\" : 1 error found!\n --int : Expected type integer, got \" foo\" "
5656
5757 assert_raise Mix.Error , message , fn ->
5858 Mix.Task . run ( "hello" , [ "--parser" , "--int" , "foo" ] )
You can’t perform that action at this time.
0 commit comments