@@ -186,7 +186,9 @@ defmodule Mix.Tasks.Hex.PublishTest do
186186 Mix.Tasks.Hex.Publish . run ( [ "docs" , "--no-progress" , "--replace" ] )
187187
188188 assert_received { :mix_shell , :info ,
189- [ "Docs published to http://localhost:4043/docs/ex_doc-0.1.0.tar.gz" ] }
189+ [
190+ "Docs will soon be available at http://localhost:4043/docs/ex_doc-0.1.0.tar.gz"
191+ ] }
190192
191193 send ( self ( ) , { :mix_shell_input , :prompt , "hunter42" } )
192194 Mix.Tasks.Hex.Publish . run ( [ "docs" , "--revert" , "0.1.0" ] )
@@ -234,7 +236,9 @@ defmodule Mix.Tasks.Hex.PublishTest do
234236 Mix.Tasks.Hex.Publish . run ( [ "docs" , "--no-progress" , "--replace" ] )
235237
236238 refute_received { :mix_shell , :info ,
237- [ "Docs published to https://hexdocs.pm/invalid_filename/0.1.0" ] }
239+ [
240+ "Docs will soon be available at https://hexdocs.pm/invalid_filename/0.1.0"
241+ ] }
238242 end
239243 end )
240244 end
@@ -253,7 +257,9 @@ defmodule Mix.Tasks.Hex.PublishTest do
253257 Mix.Tasks.Hex.Publish . run ( [ "docs" , "--no-progress" , "--replace" ] )
254258
255259 refute_received { :mix_shell , :info ,
256- [ "Docs published to https://hexdocs.pm/invalid_dirname/0.1.0" ] }
260+ [
261+ "Docs will soon be available at https://hexdocs.pm/invalid_dirname/0.1.0"
262+ ] }
257263 end
258264 end )
259265 end
@@ -271,7 +277,8 @@ defmodule Mix.Tasks.Hex.PublishTest do
271277 send ( self ( ) , { :mix_shell_input , :prompt , "hunter42" } )
272278 Mix.Tasks.Hex.Publish . run ( [ "docs" , "--no-progress" , "--replace" ] )
273279
274- refute_received { :mix_shell , :info , [ "Docs published to https://hexdocs.pm/ex_doc/0.1.0" ] }
280+ refute_received { :mix_shell , :info ,
281+ [ "Docs will soon be available at https://hexdocs.pm/ex_doc/0.1.0" ] }
275282 end
276283 end )
277284 end
@@ -287,7 +294,9 @@ defmodule Mix.Tasks.Hex.PublishTest do
287294 Mix.Tasks.Hex.Publish . run ( [ "docs" , "--no-progress" , "--replace" ] )
288295
289296 assert_received { :mix_shell , :info ,
290- [ "Docs published to http://localhost:4043/docs/ex_doc-0.1.0.tar.gz" ] }
297+ [
298+ "Docs will soon be available at http://localhost:4043/docs/ex_doc-0.1.0.tar.gz"
299+ ] }
291300 end )
292301 end
293302
@@ -302,7 +311,9 @@ defmodule Mix.Tasks.Hex.PublishTest do
302311 Mix.Tasks.Hex.Publish . run ( [ "docs" , "--no-progress" , "--replace" ] )
303312
304313 assert_received { :mix_shell , :info ,
305- [ "Docs published to http://localhost:4043/docs/ex_doc-0.1.0.tar.gz" ] }
314+ [
315+ "Docs will soon be available at http://localhost:4043/docs/ex_doc-0.1.0.tar.gz"
316+ ] }
306317 end )
307318 end
308319
@@ -395,7 +406,7 @@ defmodule Mix.Tasks.Hex.PublishTest do
395406 Mix.Tasks.Hex.Publish . run ( [ "--dry-run" , "--yes" , "--replace" ] )
396407 assert_received { :mix_shell , :info , [ "Building publish_package_name_docs_dry_run 0.0.1" ] }
397408 refute_received { :mix_shell , :info , [ "Package published to" <> _ ] }
398- refute_received { :mix_shell , :info , [ "Docs published to " <> _ ] }
409+ refute_received { :mix_shell , :info , [ "Docs will soon be available at " <> _ ] }
399410 end )
400411 after
401412 purge ( [ ReleaseName.MixProject ] )
0 commit comments