Browse Source

Tests/RunCMake/FileAPI: Fix whitespace in codemodel-v2 expectation data

AJIOB 3 weeks ago
parent
commit
206fcbb392

+ 18 - 18
Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json

@@ -47,24 +47,24 @@
                 "^subdir/empty\\.c$"
             ],
             "includes": [
-              {
-                "path": "^.*/Tests/RunCMake/FileAPI/subdir$",
-                "isSystem": null,
-                "backtrace": [
-                  {
-                    "file": "^subdir/CMakeLists\\.txt$",
-                    "line": 2,
-                    "command": "target_include_directories",
-                    "hasParent": true
-                  },
-                  {
-                    "file": "^subdir/CMakeLists\\.txt$",
-                    "line": null,
-                    "command": null,
-                    "hasParent": false
-                  }
-                ]
-              }
+                {
+                    "path": "^.*/Tests/RunCMake/FileAPI/subdir$",
+                    "isSystem": null,
+                    "backtrace": [
+                        {
+                            "file": "^subdir/CMakeLists\\.txt$",
+                            "line": 2,
+                            "command": "target_include_directories",
+                            "hasParent": true
+                        },
+                        {
+                            "file": "^subdir/CMakeLists\\.txt$",
+                            "line": null,
+                            "command": null,
+                            "hasParent": false
+                        }
+                    ]
+                }
             ],
             "frameworks": null,
             "defines": [

+ 28 - 28
Tests/RunCMake/FileAPI/codemodel-v2-data/targets/cxx_exe.json

@@ -50,27 +50,27 @@
             "frameworks": null,
             "defines": null,
             "precompileHeaders": [
-              {
-                "header": ".*empty\\.h$",
-                "backtrace": [
-                  {
-                    "file": "^cxx/CMakeLists\\.txt$",
-                    "line": 23,
-                    "command": "target_precompile_headers",
-                    "hasParent": true
-                  },
-                  {
-                    "file": "^cxx/CMakeLists\\.txt$",
-                    "line": null,
-                    "command": null,
-                    "hasParent": false
-                  }
-                ]
-              }
+                {
+                    "header": ".*empty\\.h$",
+                    "backtrace": [
+                        {
+                            "file": "^cxx/CMakeLists\\.txt$",
+                            "line": 23,
+                            "command": "target_precompile_headers",
+                            "hasParent": true
+                        },
+                        {
+                            "file": "^cxx/CMakeLists\\.txt$",
+                            "line": null,
+                            "command": null,
+                            "hasParent": false
+                        }
+                    ]
+                }
             ],
             "compileCommandFragments": [
                 {
-                    "fragment" : "TargetCompileOptions",
+                    "fragment": "TargetCompileOptions",
                     "backtrace": [
                         {
                             "file": "^cxx/CMakeLists\\.txt$",
@@ -79,7 +79,7 @@
                             "hasParent": true
                         },
                         {
-                            "file" : "^cxx/CMakeLists\\.txt$",
+                            "file": "^cxx/CMakeLists\\.txt$",
                             "line": null,
                             "command": null,
                             "hasParent": false
@@ -173,8 +173,8 @@
         "lto": null,
         "commandFragments": [
             {
-                "fragment" : "TargetLinkOptions",
-                "role" : "flags",
+                "fragment": "TargetLinkOptions",
+                "role": "flags",
                 "backtrace": [
                     {
                         "file": "^cxx/CMakeLists\\.txt$",
@@ -183,7 +183,7 @@
                         "hasParent": true
                     },
                     {
-                        "file" : "^cxx/CMakeLists\\.txt$",
+                        "file": "^cxx/CMakeLists\\.txt$",
                         "line": null,
                         "command": null,
                         "hasParent": false
@@ -191,8 +191,8 @@
                 ]
             },
             {
-                "fragment" : ".*TargetLinkDir\\\"?$",
-                "role" : "libraryPath",
+                "fragment": ".*TargetLinkDir\\\"?$",
+                "role": "libraryPath",
                 "backtrace": [
                     {
                         "file": "^cxx/CMakeLists\\.txt$",
@@ -201,7 +201,7 @@
                         "hasParent": true
                     },
                     {
-                        "file" : "^cxx/CMakeLists\\.txt$",
+                        "file": "^cxx/CMakeLists\\.txt$",
                         "line": null,
                         "command": null,
                         "hasParent": false
@@ -209,8 +209,8 @@
                 ]
             },
             {
-                "fragment" : ".*cxx_lib.*",
-                "role" : "libraries",
+                "fragment": ".*cxx_lib.*",
+                "role": "libraries",
                 "backtrace": [
                     {
                         "file": "^cxx/CMakeLists\\.txt$",
@@ -219,7 +219,7 @@
                         "hasParent": true
                     },
                     {
-                        "file" : "^cxx/CMakeLists\\.txt$",
+                        "file": "^cxx/CMakeLists\\.txt$",
                         "line": null,
                         "command": null,
                         "hasParent": false