Skip to content

Commit

Permalink
msvc can't handle sanitize example w/o /utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
ednolan committed Sep 22, 2024
1 parent 5852874 commit 2f6b7f4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/UtfView/tests/readme_examples.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ bool readme_examples() {
if (hello_world != U"こんにちは世界") {
return false;
}
#endif
if (sanitize(u8"\xc2") != u8"\xef\xbf\xbd") {
return false;
}
#ifndef _MSC_VER
if (last_nonascii("hôtel"sv).value() != U'ô') {
return false;
}
Expand Down

0 comments on commit 2f6b7f4

Please sign in to comment.