[clang-tools-extra] r339739 - [clangd] update the new test to check for diagnostic's category as well

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 14 15:27:03 PDT 2018


Author: arphaman
Date: Tue Aug 14 15:27:03 2018
New Revision: 339739

URL: http://llvm.org/viewvc/llvm-project?rev=339739&view=rev
Log:
[clangd] update the new test to check for diagnostic's category as well

Modified:
    clang-tools-extra/trunk/test/clangd/fixits-embed-in-diagnostic.test

Modified: clang-tools-extra/trunk/test/clangd/fixits-embed-in-diagnostic.test
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/fixits-embed-in-diagnostic.test?rev=339739&r1=339738&r2=339739&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clangd/fixits-embed-in-diagnostic.test (original)
+++ clang-tools-extra/trunk/test/clangd/fixits-embed-in-diagnostic.test Tue Aug 14 15:27:03 2018
@@ -6,6 +6,7 @@
 # CHECK-NEXT:    "params": {
 # CHECK-NEXT:     "diagnostics": [
 # CHECK-NEXT:      {
+# CHECK-NEXT:        "category": "Semantic Issue",
 # CHECK-NEXT:        "clangd_fixes": [
 # CHECK-NEXT:          {
 # CHECK-NEXT:            "edit": {




More information about the cfe-commits mailing list