From 9b25ac098512e993a24dbbc98424b0a61ed9a339 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 25 Apr 2016 22:20:39 -0400 Subject: [PATCH] Added test of negative return code from jsmn_parse() to test-send. --- test/oauth/test-send | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/oauth/test-send b/test/oauth/test-send index d75901ad..ad40dbdd 100755 --- a/test/oauth/test-send +++ b/test/oauth/test-send @@ -355,6 +355,24 @@ unset XOAUTH test_send_only_fakesmtp 'post: problem initializing server; [BHST] SMTP server does not support SASL XOAUTH2 send: message not delivered to anyone' +# TEST +start_test 'botched json response' + +fake_creds <