diff options
| author | Vincent Richard <[email protected]> | 2018-09-07 20:32:51 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-09-07 20:32:51 +0200 |
| commit | 71968d978daea9beffdc22522e8e9a29d52c3e9e (patch) | |
| tree | 48854151c452290f9e174765da3320ea845d5c50 /tests/net/maildir/maildirUtilsTest.cpp | |
| parent | Add SMTPS with AUTH PLAIN without SASL (diff) | |
| parent | Useless mutex does not make nl_langinfo() thread-safe. (diff) | |
| download | vmime-71968d978daea9beffdc22522e8e9a29d52c3e9e.tar.gz vmime-71968d978daea9beffdc22522e8e9a29d52c3e9e.zip | |
Merge branch 'master' into master
Diffstat (limited to 'tests/net/maildir/maildirUtilsTest.cpp')
| -rw-r--r-- | tests/net/maildir/maildirUtilsTest.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/net/maildir/maildirUtilsTest.cpp b/tests/net/maildir/maildirUtilsTest.cpp index 3538d4a8..9deeebfa 100644 --- a/tests/net/maildir/maildirUtilsTest.cpp +++ b/tests/net/maildir/maildirUtilsTest.cpp @@ -1,6 +1,6 @@ // // VMime library (http://www.vmime.org) -// Copyright (C) 2002-2013 Vincent Richard <[email protected]> +// Copyright (C) 2002 Vincent Richard <[email protected]> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -36,11 +36,13 @@ VMIME_TEST_SUITE_BEGIN(maildirUtilsTest) VMIME_TEST_LIST_END - void testMessageSetToNumberList() - { + void testMessageSetToNumberList() { + const std::vector <size_t> msgNums = - maildirUtils::messageSetToNumberList - (vmime::net::messageSet::byNumber(5, -1), /* msgCount */ 8); + maildirUtils::messageSetToNumberList( + vmime::net::messageSet::byNumber(5, -1), + /* msgCount */ 8 + ); VASSERT_EQ("Count", 4, msgNums.size()); VASSERT_EQ("1", 5, msgNums[0]); @@ -50,4 +52,3 @@ VMIME_TEST_SUITE_BEGIN(maildirUtilsTest) } VMIME_TEST_SUITE_END - |
