Skip to content

Commit d7a8e09

Browse files
authored
[clang-format] Add --strip-trailing-cr to diff in docs_updated.test (#119666)
Fixes #119517.
1 parent 28c3bf5 commit d7a8e09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/test/Format/docs_updated.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %python %S/../../docs/tools/dump_format_style.py -o %t.style
2-
// RUN: diff %t.style %S/../../docs/ClangFormatStyleOptions.rst
2+
// RUN: diff --strip-trailing-cr %t.style \
3+
// RUN: %S/../../docs/ClangFormatStyleOptions.rst
34

45
// RUN: %python %S/../../docs/tools/dump_format_help.py -o %t.help
5-
// RUN: diff %t.help %S/../../docs/ClangFormat.rst
6+
// RUN: diff --strip-trailing-cr %t.help %S/../../docs/ClangFormat.rst

0 commit comments

Comments
 (0)