From b9590a1c366e61edbf60e2c24c153fdfcab9843d Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Wed, 23 Jan 2019 14:48:09 -0500 Subject: [PATCH] fix encoding --- extensions/removerepeat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/removerepeat.cpp b/extensions/removerepeat.cpp index 10fdd45..22aa47c 100644 --- a/extensions/removerepeat.cpp +++ b/extensions/removerepeat.cpp @@ -1,4 +1,4 @@ -#include "extension.h" +#include "extension.h" #include "defs.h" void RemoveRepeatedChars(std::wstring& sentence) @@ -62,10 +62,10 @@ TEST( assert(cyclicRepeats == L"abcdefg"); InfoForExtension tester{ "hook address", 0, nullptr }; - std::wstring empty = L"", one = L" ", normal = L"This is a normal sentence. ͂B"; + std::wstring empty = L"", one = L" ", normal = L"This is a normal sentence. はい"; ProcessSentence(empty, { &tester }); ProcessSentence(one, { &tester }); ProcessSentence(normal, { &tester }); - assert(empty == L"" && one == L" " && normal == L"This is a normal sentence. ͂B"); + assert(empty == L"" && one == L" " && normal == L"This is a normal sentence. はい"); } );