[llvm] r328665 - [YAML] Remove unit test of multibyte non-printable escaping that uses C++11 escapes

Graydon Hoare via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 13:46:26 PDT 2018


Author: graydon
Date: Tue Mar 27 13:46:26 2018
New Revision: 328665

URL: http://llvm.org/viewvc/llvm-project?rev=328665&view=rev
Log:
[YAML] Remove unit test of multibyte non-printable escaping that uses C++11 escapes

Modified:
    llvm/trunk/unittests/Support/YAMLIOTest.cpp

Modified: llvm/trunk/unittests/Support/YAMLIOTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/YAMLIOTest.cpp?rev=328665&r1=328664&r2=328665&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/YAMLIOTest.cpp (original)
+++ llvm/trunk/unittests/Support/YAMLIOTest.cpp Tue Mar 27 13:46:26 2018
@@ -2493,7 +2493,6 @@ TEST(YAMLIO, TestEscaped) {
   // zero-width space). The thing to test here is that we emit a
   // unicode-scalar level escape like \uNNNN (at the YAML level), and don't
   // just pass the UTF-8 byte sequence through as with quoted printables.
-  TestEscaped("foo\u200Bbar", "\"foo\\u200Bbar\"");
   {
     const unsigned char foobar[10] = {'f', 'o', 'o',
                                       0xE2, 0x80, 0x8B, // UTF-8 of U+200B




More information about the llvm-commits mailing list