fix encoding

This commit is contained in:
Akash Mozumdar 2019-01-23 14:48:09 -05:00
parent 7fcf994a00
commit b9590a1c36

View File

@ -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. はい";
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. はい。");
assert(empty == L"" && one == L" " && normal == L"This is a normal sentence. はい");
}
);