Skip to content

Commit 485b486

Browse files
committed
Disable the test for a double wrap with IteratorIterator()
In HHVM, I can not detect this as there is no concept of running get_iterator() on an object.
1 parent 298488f commit 485b486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/cursor/cursor-get_iterator-002.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--TEST--
22
MongoDB\Driver\Cursor get_iterator handler does not yield multiple iterators (IteratorIterator)
33
--SKIPIF--
4+
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM cannot detect the *wrapping* of a Cursor"); ?>
45
<?php require __DIR__ . "/../utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
56
--FILE--
67
<?php

0 commit comments

Comments
 (0)