Apparently, some versions of diff like -U0 more than -u0.

llvm-svn: 211703
This commit is contained in:
Alexander Kornienko 2014-06-25 14:56:58 +00:00
parent 73ba424506
commit a9b7ec18f1
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
// RUN: sed 's/placeholder_for_f/f/' %s > %t.cpp
// RUN: clang-tidy -checks=-*,misc-use-override %t.cpp -- -std=c++11 | FileCheck -check-prefix=CHECK-SANITY %s
// RUN: not diff -u0 %s %t.cpp | python %S/../../clang-tidy/tool/clang-tidy-diff.py -checks=-*,misc-use-override -- -std=c++11 2>&1 | FileCheck %s
// RUN: not diff -U0 %s %t.cpp | python %S/../../clang-tidy/tool/clang-tidy-diff.py -checks=-*,misc-use-override -- -std=c++11 2>&1 | FileCheck %s
struct A {
virtual void f() {}
virtual void g() {}