Skip to content

Commit 06cf165

Browse files
committed
fix regex
1 parent 368a2ba commit 06cf165

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/integration/memcached/test_add_servers_bad.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717
*/
1818

1919
/*EXPECT_REGEX
20-
^\s*(PHP )?Warning:\s*could not add entry\s*$
21-
^\s*(PHP )?Warning:\s*could not add entry\s*$
20+
21+
.*(PHP )?Warning:.*could not add entry.*
22+
23+
.*(PHP )?Warning:.*could not add entry.*
24+
2225
*/
2326

2427
/*EXPECT_ERROR_EVENTS

0 commit comments

Comments
 (0)