mirror of
https://github.com/danog/amp.git
synced 2025-01-22 05:11:42 +01:00
Fix code style issues
This commit is contained in:
parent
0d2095e14d
commit
9a2a4966c6
@ -73,7 +73,6 @@ class FilterTest extends \PHPUnit\Framework\TestCase {
|
||||
$this->assertSame($reason, $exception);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
public function testStreamFails() {
|
||||
@ -98,6 +97,5 @@ class FilterTest extends \PHPUnit\Framework\TestCase {
|
||||
|
||||
$this->assertFalse($invoked);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,6 @@ class IteratorFromIterableTest extends \PHPUnit\Framework\TestCase {
|
||||
}
|
||||
|
||||
public function testMixedPromises() {
|
||||
|
||||
Loop::run(function () {
|
||||
$exception = new \Exception;
|
||||
$expected = \range(1, 2);
|
||||
|
@ -2,13 +2,11 @@
|
||||
|
||||
namespace Amp\Test;
|
||||
|
||||
use Amp;
|
||||
use Amp\Deferred;
|
||||
use Amp\Delayed;
|
||||
use Amp\Loop;
|
||||
use Amp\Producer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use React\Promise\Promise as ReactPromise;
|
||||
|
||||
class ProducerTest extends TestCase {
|
||||
const TIMEOUT = 100;
|
||||
|
Loading…
x
Reference in New Issue
Block a user