Guest User

Untitled

a guest
Apr 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. diff --git a/t/090_impl/mojo-prefork.t b/t/090_impl/mojo-prefork.t
  2. index 56d3b71..732740a 100644
  3. --- a/t/090_impl/mojo-prefork.t
  4. +++ b/t/090_impl/mojo-prefork.t
  5. @@ -1,7 +1,10 @@
  6. use strict;
  7. use warnings;
  8. use Test::More;
  9. -use Test::Requires qw(Mojo::Server::Daemon::Prefork);
  10. +use Test::Requires {
  11. + Mojo => 0.991244, ## for Mojo::Server::Daemon->address
  12. + 'Mojo::Server::Daemon::Prefork' => 0,
  13. +};
  14.  
  15. use Plack;
  16. use Plack::Test;
  17. diff --git a/t/090_impl/mojo.t b/t/090_impl/mojo.t
  18. index 0ac29ad..e48f56a 100644
  19. --- a/t/090_impl/mojo.t
  20. +++ b/t/090_impl/mojo.t
  21. @@ -1,7 +1,10 @@
  22. use strict;
  23. use warnings;
  24. use Test::More;
  25. -use Test::Requires qw(Mojo::Server::Daemon);
  26. +use Test::Requires {
  27. + Mojo => 0.991244, ## for Mojo::Server::Daemon->address
  28. + 'Mojo::Server::Daemon::Prefork' => 0,
  29. +};
  30.  
  31. use Plack;
  32. use Plack::Test;
Add Comment
Please, Sign In to add comment