aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/tests_paragraph.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-05-04 14:54:23 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-05-04 14:54:23 -0700
commita94efe662b0537a606d40bdd4b986b5b2ea246e2 (patch)
treef741d6b99225c7bda5fb7b349a1a5bf3ac50ab9d /toolsrc/src/tests_paragraph.cpp
parentf920d0e5208a75dcb14ac4fcb5b7c83edbaab861 (diff)
downloadvcpkg-a94efe662b0537a606d40bdd4b986b5b2ea246e2.tar.gz
vcpkg-a94efe662b0537a606d40bdd4b986b5b2ea246e2.zip
Rename Strings:: function for utf8/utf16 conversion
Diffstat (limited to 'toolsrc/src/tests_paragraph.cpp')
-rw-r--r--toolsrc/src/tests_paragraph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/tests_paragraph.cpp b/toolsrc/src/tests_paragraph.cpp
index de7a6d190..b66adc816 100644
--- a/toolsrc/src/tests_paragraph.cpp
+++ b/toolsrc/src/tests_paragraph.cpp
@@ -353,13 +353,13 @@ namespace UnitTest1
TEST_METHOD(utf8_to_utf16)
{
- auto str = vcpkg::Strings::utf8_to_utf16("abc");
+ auto str = vcpkg::Strings::to_utf16("abc");
Assert::AreEqual(L"abc", str.c_str());
}
TEST_METHOD(utf8_to_utf16_with_whitespace)
{
- auto str = vcpkg::Strings::utf8_to_utf16("abc -x86-windows");
+ auto str = vcpkg::Strings::to_utf16("abc -x86-windows");
Assert::AreEqual(L"abc -x86-windows", str.c_str());
}
};