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