diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 14:54:23 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 14:54:23 -0700 |
| commit | a94efe662b0537a606d40bdd4b986b5b2ea246e2 (patch) | |
| tree | f741d6b99225c7bda5fb7b349a1a5bf3ac50ab9d /toolsrc/src/tests_paragraph.cpp | |
| parent | f920d0e5208a75dcb14ac4fcb5b7c83edbaab861 (diff) | |
| download | vcpkg-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.cpp | 4 |
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()); } }; |
