1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 13:21:16 +01:00
amp/test/LoopReset.php
2017-03-10 21:31:57 +01:00

12 lines
256 B
PHP

<?php
namespace Amp\Test;
use Amp\Loop;
use PHPUnit_Framework_Test;
class LoopReset extends \PHPUnit_Framework_BaseTestListener {
public function endTest(PHPUnit_Framework_Test $test, $time) {
Loop::set((new Loop\Factory)->create());
}
}