We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa614f1 commit 38cf2beCopy full SHA for 38cf2be
spec/FulfilledPromiseSpec.php
@@ -64,4 +64,9 @@ function it_has_a_response(ResponseInterface $response)
64
{
65
$this->wait()->shouldReturn($response);
66
}
67
+
68
+ function it_does_not_unwrap_a_value(ResponseInterface $response)
69
+ {
70
+ $this->wait(false)->shouldNotReturn($response);
71
+ }
72
spec/RejectedPromiseSpec.php
@@ -70,4 +70,9 @@ function it_returns_an_exception()
$this->beConstructedWith($exception);
$this->shouldThrow($exception)->duringWait();
73
74
75
76
+ $this->shouldNotThrow('Exception')->duringWait(false);
77
78
0 commit comments