Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,7 +134,7 @@ public function testEmitPendingPromiseThenNonPromise() { | |
/** | ||
* @depends testEmit | ||
* @expectedException \Error | ||
* @expectedExceptionMessage Streams cannot emit values after calling complete | ||
* @expectedExceptionMessage Iterators cannot emit values after calling complete | ||
*/ | ||
public function testEmitAfterComplete() { | ||
$this->producer->complete(); | ||
|
@@ -144,7 +144,7 @@ public function testEmitAfterComplete() { | |
/** | ||
* @depends testEmit | ||
* @expectedException \Error | ||
* @expectedExceptionMessage The stream was completed before the promise result could be emitted | ||
* @expectedExceptionMessage The iterator was completed before the promise result could be emitted | ||
*/ | ||
public function testEmitPendingPromiseThenComplete() { | ||
$invoked = false; | ||
|
@@ -167,7 +167,7 @@ public function testEmitPendingPromiseThenComplete() { | |
/** | ||
* @depends testEmit | ||
* @expectedException \Error | ||
* @expectedExceptionMessage The stream was completed before the promise result could be emitted | ||
* @expectedExceptionMessage The iterator was completed before the promise result could be emitted | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
trowski
Author
Member
|
||
*/ | ||
public function testEmitPendingPromiseThenFail() { | ||
$invoked = false; | ||
|
This shouldn't fail IMO. Complete should just not allow further
emit
calls, but the already done emits should complete normally.