From 49f9628c0a6e86ee530a0da53605afac8c770c7e Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 25 Feb 2013 13:10:15 +0100 Subject: Fixed typo in function name. --- tests/parser/textTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/parser/textTest.cpp') 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()); -- cgit v1.2.3