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 049f776 commit b8348fcCopy full SHA for b8348fc
tests/src/integration/_utils.php
@@ -1,7 +1,4 @@
1
<?php
2
-// Active assert and make it quiet
3
-assert_options(ASSERT_ACTIVE, 1);
4
-assert_options(ASSERT_WARNING, 0);
5
6
function assert_exception_thrown(callable $callback): void
7
{
tests/src/lib.rs
@@ -141,6 +141,8 @@ mod integration {
141
"-dextension=../target/debug/libtests.{}",
142
std::env::consts::DLL_EXTENSION
143
))
144
+ .arg("-dassert.active=1")
145
+ .arg("-dassert.exception=1")
146
.arg(format!("src/integration/{}", file))
147
.output()
148
.expect("failed to run php file");
0 commit comments