[PATCH] D72954: [clang-doc] Improving Markdown Output

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 15:46:24 PST 2020


phosek added a comment.

This is still failing on Windows:

  ******************** TEST 'Extra Tools Unit Tests :: clang-doc/./ClangDocTests.exe/MDGeneratorTest.emitNamespaceMD' FAILED ********************
  Note: Google Test filter = MDGeneratorTest.emitNamespaceMD
  
  [==========] Running 1 test from 1 test case.
  
  [----------] Global test environment set-up.
  
  [----------] 1 test from MDGeneratorTest
  
  [ RUN      ] MDGeneratorTest.emitNamespaceMD
  
  C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm-project\clang-tools-extra\unittests\clang-doc\MDGeneratorTest.cpp(77): error:       Expected: Expected
  
        Which is: "# namespace Namespace\n\n\n\n## Namespaces\n\n* [ChildNamespace](../ChildNamespace/index.md)\n\n\n## Records\n\n* [ChildStruct](../ChildStruct.md)\n\n\n## Functions\n\n### OneFunction\n\n* OneFunction()*\n\n\n\n## Enums\n\n| enum OneEnum |\n\n--\n\n\n\n\n\n"
  
  To be equal to: Actual.str()
  
        Which is: "# namespace Namespace\n\n\n\n## Namespaces\n\n* [ChildNamespace](../ChildNamespace/index.md)\n\n\n## Records\n\n* [ChildStruct](..//ChildStruct.md)\n\n\n## Functions\n\n### OneFunction\n\n* OneFunction()*\n\n\n\n## Enums\n\n| enum OneEnum |\n\n--\n\n\n\n\n\n"
  
  With diff:
  
  @@ -10,5 +10,5 @@
  
   ## Records
  
   
  
  -* [ChildStruct](../ChildStruct.md)
  
  +* [ChildStruct](..//ChildStruct.md)
  
   
  
   
  
  
  
  [  FAILED  ] MDGeneratorTest.emitNamespaceMD (1 ms)
  
  [----------] 1 test from MDGeneratorTest (1 ms total)
  
  
  
  [----------] Global test environment tear-down
  
  [==========] 1 test from 1 test case ran. (1 ms total)
  
  [  PASSED  ] 0 tests.
  
  [  FAILED  ] 1 test, listed below:
  
  [  FAILED  ] MDGeneratorTest.emitNamespaceMD
  
  
  
   1 FAILED TEST


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72954





More information about the cfe-commits mailing list