X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmessage001.phpt;h=7b6b534d8e5d59f89633f8393059639a56abb0e1;hb=179b9e4d1c888871a3393a6045dfb675a14b6675;hp=8a10811fb1f887e14d5c0bc8022ace14abd0b703;hpb=fa54d3dd8c0f101c9f8619d59eaf1940c311e7e5;p=m6w6%2Fext-http diff --git a/tests/message001.phpt b/tests/message001.phpt index 8a10811..7b6b534 100644 --- a/tests/message001.phpt +++ b/tests/message001.phpt @@ -10,6 +10,11 @@ echo "Test\n"; use http\Message as HttpMessage; +try { + echo new HttpMessage(" gosh\n nosh\n "); +} catch (Exception $ignore) { +} + $m = new HttpMessage(); echo $m; var_dump(