aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/src/SpecTestsuites/Core/CallIndirectTest.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-05-05 12:27:17 +0900
committernsfisis <nsfisis@gmail.com>2024-05-05 14:12:32 +0900
commit27cd7cf8f816f1d1dd465c28a43fc0fcd25c48d6 (patch)
treef38f4eee869735a18c6df71058ed8ddc5ccbb635 /tests/src/SpecTestsuites/Core/CallIndirectTest.php
parent2f533445e47f4a0f7c94677f5fda3683a4f1fee7 (diff)
downloadphp-waddiwasi-27cd7cf8f816f1d1dd465c28a43fc0fcd25c48d6.tar.gz
php-waddiwasi-27cd7cf8f816f1d1dd465c28a43fc0fcd25c48d6.tar.zst
php-waddiwasi-27cd7cf8f816f1d1dd465c28a43fc0fcd25c48d6.zip
feat: limit call stack size
Diffstat (limited to 'tests/src/SpecTestsuites/Core/CallIndirectTest.php')
-rw-r--r--tests/src/SpecTestsuites/Core/CallIndirectTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/SpecTestsuites/Core/CallIndirectTest.php b/tests/src/SpecTestsuites/Core/CallIndirectTest.php
index c99bd23..6dd311a 100644
--- a/tests/src/SpecTestsuites/Core/CallIndirectTest.php
+++ b/tests/src/SpecTestsuites/Core/CallIndirectTest.php
@@ -1068,6 +1068,7 @@ final class CallIndirectTest extends SpecTestsuiteBase
public function testAssertExhaustion96(): void
{
$this->runAssertExhaustionCommand(
+ module: null,
action: ['type' => 'invoke', 'field' => 'runaway', 'args' => []],
text: 'call stack exhausted',
line: 585,
@@ -1078,6 +1079,7 @@ final class CallIndirectTest extends SpecTestsuiteBase
public function testAssertExhaustion97(): void
{
$this->runAssertExhaustionCommand(
+ module: null,
action: ['type' => 'invoke', 'field' => 'mutual-runaway', 'args' => []],
text: 'call stack exhausted',
line: 586,