aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/textTest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-02-25 12:10:15 +0000
committerVincent Richard <[email protected]>2013-02-25 12:10:15 +0000
commit49f9628c0a6e86ee530a0da53605afac8c770c7e (patch)
tree15d36d336811039292c068c6e7cd938436b5a47d /tests/parser/textTest.cpp
parentDefaults to local charset when assigning word from raw string. (diff)
downloadvmime-49f9628c0a6e86ee530a0da53605afac8c770c7e.tar.gz
vmime-49f9628c0a6e86ee530a0da53605afac8c770c7e.zip
Fixed typo in function name.
Diffstat (limited to 'tests/parser/textTest.cpp')
-rw-r--r--tests/parser/textTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/parser/textTest.cpp b/tests/parser/textTest.cpp
index d2047f02..0261a72f 100644
--- a/tests/parser/textTest.cpp
+++ b/tests/parser/textTest.cpp
@@ -92,7 +92,7 @@ VMIME_TEST_SUITE_BEGIN
VASSERT_EQ("2.1", 1, t2.getWordCount());
VASSERT_EQ("2.2", "Test\xa9\xc3", t2.getWordAt(0)->getBuffer());
- VASSERT_EQ("2.3", vmime::charset::getLocaleCharset(), t2.getWordAt(0)->getCharset());
+ VASSERT_EQ("2.3", vmime::charset::getLocalCharset(), t2.getWordAt(0)->getCharset());
vmime::text t3("Test\xa9\xc3", vmime::charset(vmime::charsets::ISO8859_13));
@@ -241,10 +241,10 @@ VMIME_TEST_SUITE_BEGIN
void testWordConstructors()
{
- VASSERT_EQ("1.1", vmime::charset::getLocaleCharset(), vmime::word().getCharset());
+ VASSERT_EQ("1.1", vmime::charset::getLocalCharset(), vmime::word().getCharset());
VASSERT_EQ("1.2", "", vmime::word().getBuffer());
- VASSERT_EQ("2.1", vmime::charset::getLocaleCharset(), vmime::word("foo").getCharset());
+ VASSERT_EQ("2.1", vmime::charset::getLocalCharset(), vmime::word("foo").getCharset());
VASSERT_EQ("2.2", "foo", vmime::word("foo").getBuffer());
VASSERT_EQ("3.1", "bar", vmime::word("foo", vmime::charset("bar")).getCharset().getName());