diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-06-02 04:41:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-06-02 04:41:59 +0900 |
| commit | 73d19c2f4bdae0aac4ebe8303ff88f42a9e59978 (patch) | |
| tree | 896908710bddcb23c8fe3e5b6248cbd58b16f69d /tests/src | |
| parent | 3e402a951e455d22aa8a23293327bb4b791bf390 (diff) | |
| download | php-waddiwasi-73d19c2f4bdae0aac4ebe8303ff88f42a9e59978.tar.gz php-waddiwasi-73d19c2f4bdae0aac4ebe8303ff88f42a9e59978.tar.zst php-waddiwasi-73d19c2f4bdae0aac4ebe8303ff88f42a9e59978.zip | |
test: add more trap kind
Diffstat (limited to 'tests/src')
| -rw-r--r-- | tests/src/SpecTestsuites/SpecTestsuiteBase.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/SpecTestsuites/SpecTestsuiteBase.php b/tests/src/SpecTestsuites/SpecTestsuiteBase.php index 36eedec..06a911e 100644 --- a/tests/src/SpecTestsuites/SpecTestsuiteBase.php +++ b/tests/src/SpecTestsuites/SpecTestsuiteBase.php @@ -269,6 +269,7 @@ abstract class SpecTestsuiteBase extends TestCase TrapKind::UninitializedElement => 'uninitialized element', TrapKind::IndirectCallTypeMismatch => 'indirect call type mismatch', TrapKind::UndefinedElement => 'undefined element', + TrapKind::DivideByZero => 'integer divide by zero', }; $this->assertStringContainsString( $actualErrorMessage, |
