From 2f6b7f46e3577b3e1984c994baedb4426ede2133 Mon Sep 17 00:00:00 2001 From: Edward Nolan Date: Sat, 21 Sep 2024 23:21:21 -0400 Subject: [PATCH] msvc can't handle sanitize example w/o /utf8 --- src/UtfView/tests/readme_examples.t.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/UtfView/tests/readme_examples.t.cpp b/src/UtfView/tests/readme_examples.t.cpp index fa2a2e1..631d3ae 100644 --- a/src/UtfView/tests/readme_examples.t.cpp +++ b/src/UtfView/tests/readme_examples.t.cpp @@ -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; }