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