aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-05-04 17:55:44 +0900
committernsfisis <nsfisis@gmail.com>2024-05-04 17:55:44 +0900
commit21dba0f4527505e7fecc0135490d277edb506dc9 (patch)
treec380d8b946b615b1ff4cde70c323ab0a8cae35d1 /tests/src
parent85da6235fb7b808e711c9f3f562dff246a625287 (diff)
downloadphp-waddiwasi-21dba0f4527505e7fecc0135490d277edb506dc9.tar.gz
php-waddiwasi-21dba0f4527505e7fecc0135490d277edb506dc9.tar.zst
php-waddiwasi-21dba0f4527505e7fecc0135490d277edb506dc9.zip
test: BulkTest passed
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/SpecTestsuites/SpecTestsuiteBase.php5
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,
);
}