Skip to content
#

web-framework

Here are 696 public repositories matching this topic...

iris
kalmant
kalmant commented Feb 4, 2021

Is your feature request related to a problem? Please describe.
During testing I expected github.com/kataras/iris/v12/httptest.Response.Status to fail the test immediately if a different status is received. Therefore on subsequent lines I performed some operations that could result in a panic if let's say the response code was not as expected. It turns that it does not fail fast, it simply f

yew
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

Improve this page

Add a description, image, and links to the web-framework 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 web-framework topic, visit your repo's landing page and select "manage topics."

Learn more