diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 19:08:45 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 19:08:45 +0100 |
commit | 3baf36edf6ed1d7c74d68846d79f87334b573aea (patch) | |
tree | 3946a907baae28c177dd65b4424deb7370d3d58c /tests/unit/unit1308.c | |
parent | fec7a858b88c86e97e5dc96414a01feb21a2b661 (diff) |
mime: tests and examples.
Additional mime-specific tests.
Existing tests updated to reflect small differences (Expect: 100-continue,
data size change due to empty lines, etc).
Option -F headers= keyword added to tests.
test1135 disabled until the entry point order change is resolved.
New example smtp-mime.
Examples postit2 and multi-post converted from form API to mime API.
Diffstat (limited to 'tests/unit/unit1308.c')
-rw-r--r-- | tests/unit/unit1308.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/unit1308.c b/tests/unit/unit1308.c index 5c1a00867..ac41c9d4a 100644 --- a/tests/unit/unit1308.c +++ b/tests/unit/unit1308.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -71,7 +71,7 @@ UNITTEST_START fail_unless(rc == 0, "curl_formget returned error"); - fail_unless(total_size == 486, "curl_formget got wrong size back"); + fail_unless(total_size == 488, "curl_formget got wrong size back"); curl_formfree(post); @@ -88,7 +88,7 @@ UNITTEST_START rc = curl_formget(post, &total_size, print_httppost_callback); fail_unless(rc == 0, "curl_formget returned error"); - fail_unless(total_size == 847, "curl_formget got wrong size back"); + fail_unless(total_size == 851, "curl_formget got wrong size back"); curl_formfree(post); |