From abdad356462b4b84cba771af742d1b6ecfaabc2d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 1 May 2024 23:17:58 +0900 Subject: test: define more trap kind --- tests/src/SpecTestsuites/SpecTestsuiteBase.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/src') diff --git a/tests/src/SpecTestsuites/SpecTestsuiteBase.php b/tests/src/SpecTestsuites/SpecTestsuiteBase.php index f5cc39a..f2b0206 100644 --- a/tests/src/SpecTestsuites/SpecTestsuiteBase.php +++ b/tests/src/SpecTestsuites/SpecTestsuiteBase.php @@ -249,8 +249,9 @@ abstract class SpecTestsuiteBase extends TestCase $message = " ($message)"; } $actualErrorMessage = match ($kind) { - TrapKind::OutOfBoundsMemoryAccess => 'out of bounds memory access', TrapKind::Unknown => 'unknown', + TrapKind::OutOfBoundsMemoryAccess => 'out of bounds memory access', + TrapKind::OutOfBoundsTableAccess => 'out of bounds table access', }; $this->assertSame( $expectedErrorMessage, -- cgit v1.2.3-70-g09d2