diff options
author | Jan Engelhardt <[email protected]> | 2024-06-11 18:47:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-11 18:47:53 +0000 |
commit | aa60d004968aa8536251a6c0fedd3f1172add548 (patch) | |
tree | e6a3d058a065d7bb8b8b22b4e0b4692b10c302d2 | |
parent | build: upgrade to C++17 when ICU is used (#310) (diff) | |
download | vmime-aa60d004968aa8536251a6c0fedd3f1172add548.tar.gz vmime-aa60d004968aa8536251a6c0fedd3f1172add548.zip |
Fix a test failure in testNewFromString (#311)
Fixes an oversight in d296c2d1.
-rw-r--r-- | tests/parser/textTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parser/textTest.cpp b/tests/parser/textTest.cpp index cbb1740a..9608aefc 100644 --- a/tests/parser/textTest.cpp +++ b/tests/parser/textTest.cpp @@ -191,7 +191,7 @@ VMIME_TEST_SUITE_BEGIN(textTest) VASSERT_EQ("2.1", 3, t2.getWordCount()); VASSERT_EQ("2.2", "some ASCII characters and special chars:", t2.getWordAt(0)->getBuffer()); VASSERT_EQ("2.3", vmime::charset(vmime::charsets::US_ASCII), t2.getWordAt(0)->getCharset()); - VASSERT_EQ("2.4", "\xc3\xa4\xd0\xb0", t2.getWordAt(1)->getBuffer()); + VASSERT_EQ("2.4", " \xc3\xa4\xd0\xb0", t2.getWordAt(1)->getBuffer()); VASSERT_EQ("2.5", c2, t2.getWordAt(1)->getCharset()); VASSERT_EQ("2.6", " and then more ASCII chars.", t2.getWordAt(2)->getBuffer()); VASSERT_EQ("2.7", vmime::charset(vmime::charsets::US_ASCII), t2.getWordAt(2)->getCharset()); |