We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6067f55 commit a7839dfCopy full SHA for a7839df
tests/end-to-end/event/test-assert-failure.phpt
@@ -2,6 +2,14 @@
2
The right events are emitted in the right order for a test that fails because of assert()
3
--SKIPIF--
4
<?php declare(strict_types=1);
5
+if (ini_get('zend.assertions') != 1) {
6
+ print 'skip: zend.assertions=1 is required' . PHP_EOL;
7
+}
8
+
9
+if (ini_get('assert.exception') != 1) {
10
+ print 'skip: assert.exception=1 is required' . PHP_EOL;
11
12
13
if (DIRECTORY_SEPARATOR === '\\') {
14
print "skip: this test does not work on Windows / GitHub Actions\n";
15
}
0 commit comments