diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-05-04 17:55:44 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-05-04 17:55:44 +0900 |
| commit | 21dba0f4527505e7fecc0135490d277edb506dc9 (patch) | |
| tree | c380d8b946b615b1ff4cde70c323ab0a8cae35d1 /tests | |
| parent | 85da6235fb7b808e711c9f3f562dff246a625287 (diff) | |
| download | php-waddiwasi-21dba0f4527505e7fecc0135490d277edb506dc9.tar.gz php-waddiwasi-21dba0f4527505e7fecc0135490d277edb506dc9.tar.zst php-waddiwasi-21dba0f4527505e7fecc0135490d277edb506dc9.zip | |
test: BulkTest passed
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/src/SpecTestsuites/SpecTestsuiteBase.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/src/SpecTestsuites/SpecTestsuiteBase.php b/tests/src/SpecTestsuites/SpecTestsuiteBase.php index f2b0206..d6cd85e 100644 --- a/tests/src/SpecTestsuites/SpecTestsuiteBase.php +++ b/tests/src/SpecTestsuites/SpecTestsuiteBase.php @@ -252,10 +252,11 @@ abstract class SpecTestsuiteBase extends TestCase TrapKind::Unknown => 'unknown', TrapKind::OutOfBoundsMemoryAccess => 'out of bounds memory access', TrapKind::OutOfBoundsTableAccess => 'out of bounds table access', + TrapKind::UninitializedElement => 'uninitialized element', }; - $this->assertSame( - $expectedErrorMessage, + $this->assertStringContainsString( $actualErrorMessage, + $expectedErrorMessage, 'trap kind mismatch' . $message, ); } |
