Browse Source

CI: fix PHP 8.4 job (#7829)

Kuba Werłos 1 year ago
parent
commit
db62eb38d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/PregTest.php

+ 1 - 1
tests/PregTest.php

@@ -54,7 +54,7 @@ final class PregTest extends TestCase
 
         yield 'valid_control_character_delimiter' => ["\1\1", true];
 
-        yield 'invalid_control_character_modifier' => ["\1\1\1", null, PregException::class, '/ Unknown modifier /'];
+        yield 'invalid_control_character_modifier' => ["\1\1\1", null, PregException::class, '/ Unknown modifier|Invalid PCRE pattern /'];
 
         yield 'valid_slate' => ['//', true];