diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-05-01 23:17:58 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-05-01 23:17:58 +0900 |
| commit | abdad356462b4b84cba771af742d1b6ecfaabc2d (patch) | |
| tree | 40a763ad15af318cfcbc00515a32d3c0970f0df2 /tests/src | |
| parent | bd72d3c4acde3f5e79bd494d4678a6e72e92e313 (diff) | |
| download | php-waddiwasi-abdad356462b4b84cba771af742d1b6ecfaabc2d.tar.gz php-waddiwasi-abdad356462b4b84cba771af742d1b6ecfaabc2d.tar.zst php-waddiwasi-abdad356462b4b84cba771af742d1b6ecfaabc2d.zip | |
test: define more trap kind
Diffstat (limited to 'tests/src')
| -rw-r--r-- | tests/src/SpecTestsuites/SpecTestsuiteBase.php | 3 |
1 files changed, 2 insertions, 1 deletions
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, |
