From 9f545de0b6b1502364eebbf5ddc0e58a070aa78b Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 29 Mar 2019 13:57:39 +0100 Subject: [PATCH] Fix test expectations While bug77020.phpt already succeeds on Linux, it fails on Windows; imap_fetchbody_variation3.phpt fails on both systems. We therefore make these tests more resilient. --- ext/imap/tests/bug77020.phpt | 2 +- ext/imap/tests/imap_fetchbody_variation3.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/imap/tests/bug77020.phpt b/ext/imap/tests/bug77020.phpt index 8a65232eec6..357b75333a7 100644 --- a/ext/imap/tests/bug77020.phpt +++ b/ext/imap/tests/bug77020.phpt @@ -11,5 +11,5 @@ imap_mail('1', 1, NULL); ===DONE=== --EXPECTF-- Warning: imap_mail(): No message string in mail command in %s on line %d -%s +%A ===DONE=== diff --git a/ext/imap/tests/imap_fetchbody_variation3.phpt b/ext/imap/tests/imap_fetchbody_variation3.phpt index 560f2b82424..6a75e356b60 100644 --- a/ext/imap/tests/imap_fetchbody_variation3.phpt +++ b/ext/imap/tests/imap_fetchbody_variation3.phpt @@ -106,7 +106,7 @@ Create a temporary mailbox and add 1 msgs .. mailbox '%s.phpttest' created -- Iteration 1 -- -string(71) "From: %s +string(%d) "From: %s To: %s Subject: test1