Skip to content

Commit b02c4b3

Browse files
committed
Skip tests for invalid arguments
HHVM does not assign a dedicated resource type for Socket resources
1 parent 4f9dae5 commit b02c4b3

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

tests/EventLoop/AbstractLoopTest.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,4 @@ public function testClientTcp4()
4646

4747
$this->loop->run();
4848
}
49-
50-
/**
51-
* @expectedException InvalidArgumentException
52-
*/
53-
public function testAddReadStreamInvalid()
54-
{
55-
$stream = fopen('php://temp', 'r+');
56-
57-
$this->loop->addReadStream($stream, null);
58-
}
59-
60-
/**
61-
* @expectedException InvalidArgumentException
62-
*/
63-
public function testAddWriteStreamInvalid()
64-
{
65-
$stream = fopen('php://temp', 'r+');
66-
67-
$this->loop->addWriteStream($stream, null);
68-
}
6949
}

0 commit comments

Comments
 (0)