summaryrefslogtreecommitdiffstats
path: root/clang/test/Format/cursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Format/cursor.cpp')
-rw-r--r--clang/test/Format/cursor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/Format/cursor.cpp b/clang/test/Format/cursor.cpp
index c7d576ba6e6..b0a2fbdffc3 100644
--- a/clang/test/Format/cursor.cpp
+++ b/clang/test/Format/cursor.cpp
@@ -1,6 +1,5 @@
-// RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp
-// RUN: clang-format -style=LLVM %t2.cpp -cursor=6 > %t.cpp
-// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
+// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=6 \
+// RUN: | FileCheck -strict-whitespace %s
// CHECK: {{^\{ "Cursor": 4, }}
// CHECK: {{^int\ \i;$}}
int i;
OpenPOWER on IntegriCloud