Skip to content
#

mojolicious

Here are 160 public repositories matching this topic...

kraih
kraih commented May 20, 2020

Not a particularly hard task, but converting all tests is a lot of work. We want to go from:

# Promisify
is ref Mojo::Promise->resolve('foo'), 'Mojo::Promise', 'right class';
$promise = Mojo::Promise->reject('foo');
is ref $promise, 'Mojo::Promise', 'right class';
@errors = ();
$promise->catch(sub { push @errors, @_ })->wait;
is_deeply \@errors, ['foo'], 'promise rejected';
$promi
LANraragi

Improve this page

Add a description, image, and links to the mojolicious topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mojolicious topic, visit your repo's landing page and select "manage topics."

Learn more