Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Conversation

@ericpoe
Copy link
Contributor

@ericpoe ericpoe commented Sep 14, 2017

Provide a test for bug #68004

One interesting aspect of this test is that it creates a tiny temp file in memory (when smaller than 2MB) that gets destroyed when this test gets destroyed. That should be faster than creating a file on the filesystem and then going through a cleanup script when the test is finished. SplTempFileObject() FTW!

KCPHPUG TestFest 2017

p365labs pushed a commit to p365labs/phptestfest-php-src that referenced this pull request Nov 18, 2017
echo 'Limit 2: ', iterator_count(new LimitIterator($iterator, 2)), ' ', iterator_count(new LimitIterator($tmpCsvFile, 2)), "\n";
echo 'Limit 3: ', iterator_count(new LimitIterator($iterator, 3)), ' ', iterator_count(new LimitIterator($tmpCsvFile, 3)), "\n";
?>
--XFAIL--
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We won't accept XFAIL tests 😕

@petk
Copy link
Contributor

petk commented Feb 11, 2019

Hello, thank you for the pull request. The XFAIL tests for the PHP-7.4 and master branches should instead go one step further and try to fix the bug if possible. The XFAIL tests are not being merged to the php-src repository anymore. Thanks and sorry for inconvenience.

@petk petk closed this Feb 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants