From 1cf96ccdd9eec5efd69ea474636bcb9f7ab89bb8 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 10 Jul 2014 13:22:39 +0200 Subject: [PATCH] add boundary check --- tests/messagebody005.phpt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/messagebody005.phpt b/tests/messagebody005.phpt index 2d1d8b2..72f402d 100644 --- a/tests/messagebody005.phpt +++ b/tests/messagebody005.phpt @@ -9,13 +9,17 @@ include "skipif.inc"; echo "Test\n"; $temp = new http\Message\Body; +var_dump($temp->getBoundary()); $temp->addPart(new http\Message("This: is a header\n\nand this is the data\n")); +var_dump($temp->getBoundary()); echo $temp; ?> DONE --EXPECTF-- Test +NULL +string(%d) "%x.%x" --%x.%x This: is a header Content-Length: 21 -- 2.30.2