From 6c12051a6f16f1df3d73f1490b82b7907c725f8b Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Sat, 6 Dec 2025 11:51:36 +0300 Subject: [PATCH] [clang-tidy] Show better diff when check_alphabetical_order.py fails --- .../test/clang-tidy/infrastructure/alphabetical-order.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang-tools-extra/test/clang-tidy/infrastructure/alphabetical-order.test b/clang-tools-extra/test/clang-tidy/infrastructure/alphabetical-order.test index 1a75c12f909fd..6cb0da7322f4f 100644 --- a/clang-tools-extra/test/clang-tidy/infrastructure/alphabetical-order.test +++ b/clang-tools-extra/test/clang-tidy/infrastructure/alphabetical-order.test @@ -1,5 +1,5 @@ // RUN: %python %S/../../../clang-tidy/tool/check_alphabetical_order.py -o %t.clang-tidy-checks-list.rst -// RUN: diff --strip-trailing-cr %t.clang-tidy-checks-list.rst %S/../../../docs/clang-tidy/checks/list.rst +// RUN: diff --strip-trailing-cr %S/../../../docs/clang-tidy/checks/list.rst %t.clang-tidy-checks-list.rst // RUN: %python %S/../../../clang-tidy/tool/check_alphabetical_order.py -o %t.ReleaseNotes.rst -// RUN: diff --strip-trailing-cr %t.ReleaseNotes.rst %S/../../../docs/ReleaseNotes.rst +// RUN: diff --strip-trailing-cr %S/../../../docs/ReleaseNotes.rst %t.ReleaseNotes.rst