Skip to content

Commit b8348fc

Browse files
committed
Fixup
1 parent 049f776 commit b8348fc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/src/integration/_utils.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<?php
2-
// Active assert and make it quiet
3-
assert_options(ASSERT_ACTIVE, 1);
4-
assert_options(ASSERT_WARNING, 0);
52

63
function assert_exception_thrown(callable $callback): void
74
{

tests/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ mod integration {
141141
"-dextension=../target/debug/libtests.{}",
142142
std::env::consts::DLL_EXTENSION
143143
))
144+
.arg("-dassert.active=1")
145+
.arg("-dassert.exception=1")
144146
.arg(format!("src/integration/{}", file))
145147
.output()
146148
.expect("failed to run php file");

0 commit comments

Comments
 (0)