[PATCH] D55746: [libcxx] [test] [re.traits] Correct expected values for invalid UTF-8

Michał Górny via Phabricator reviews at reviews.llvm.org
Mon Dec 17 11:16:54 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX349378: [test] [re.traits] Remove asserts failing due to invalid UTF-8 (authored by mgorny, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D55746?vs=178463&id=178497#toc

Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55746/new/

https://reviews.llvm.org/D55746

Files:
  test/std/re/re.traits/translate_nocase.pass.cpp


Index: test/std/re/re.traits/translate_nocase.pass.cpp
===================================================================
--- test/std/re/re.traits/translate_nocase.pass.cpp
+++ test/std/re/re.traits/translate_nocase.pass.cpp
@@ -19,9 +19,6 @@
 // XFAIL: with_system_cxx_lib=macosx10.7
 // XFAIL: with_system_cxx_lib=macosx10.8
 
-// TODO: investigation needed
-// XFAIL: linux-gnu
-
 #include <regex>
 #include <cassert>
 
@@ -47,8 +44,6 @@
         assert(t.translate_nocase('.') == '.');
         assert(t.translate_nocase('a') == 'a');
         assert(t.translate_nocase('1') == '1');
-        assert(t.translate_nocase('\xDA') == '\xFA');
-        assert(t.translate_nocase('\xFA') == '\xFA');
     }
     {
         std::regex_traits<wchar_t> t;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55746.178497.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181217/99920a44/attachment.bin>


More information about the libcxx-commits mailing list