[PATCH] D43164: Fix test clang-diff-json.cpp
Aaron Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 10 13:33:06 PST 2018
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rC324824: Fix test clang-diff-json.cpp (authored by asmith, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D43164
Files:
test/Tooling/clang-diff-json.cpp
Index: test/Tooling/clang-diff-json.cpp
===================================================================
--- test/Tooling/clang-diff-json.cpp
+++ test/Tooling/clang-diff-json.cpp
@@ -1,10 +1,10 @@
// RUN: clang-diff -ast-dump-json %s -- \
-// RUN: | %python -c 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)' \
+// RUN: | '%python' -c 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)' \
// RUN: | FileCheck %s
-// CHECK: "begin": 299,
+// CHECK: "begin": 301,
// CHECK: "type": "FieldDecl",
-// CHECK: "end": 319,
+// CHECK: "end": 321,
// CHECK: "type": "CXXRecordDecl",
class A {
int x;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43164.133768.patch
Type: text/x-patch
Size: 700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180210/980d5596/attachment.bin>
More information about the llvm-commits
mailing list