fix encoding
This commit is contained in:
parent
7fcf994a00
commit
b9590a1c36
@ -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. はい");
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user