aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/src
diff options
context:
space:
mode:
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,
);
}