Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit db40917

Browse files
committed
test: fix TopicConfTest::testSetPartitionerWithUnsupportedTypeShouldFail
1 parent 02bbf5f commit db40917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/RdKafka/TopicConfTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function testSetPartitionerWithUnsupportedTypeShouldFail(): void
128128
$conf = new TopicConf();
129129

130130
$this->expectException(\RuntimeException::class);
131-
$this->expectExceptionMessageMatches('/rd_kafka_msg_partitioner_fnv1a_random/');
131+
$this->expectExceptionMessageMatches('/rd_kafka_msg_partitioner_fnv1a/');
132132
$conf->setPartitioner(RD_KAFKA_MSG_PARTITIONER_FNV1A);
133133
}
134134

0 commit comments

Comments
 (0)