https://github.com/darkfeline updated https://github.com/llvm/llvm-project/pull/106305
>From 785d542dd78a8379aef77578465e7ef320073338 Mon Sep 17 00:00:00 2001 From: Allen Li <> Date: Tue, 27 Aug 2024 23:15:58 +0000 Subject: [PATCH] [clang-format] Fix clang-format-buffer--buffer-encoding test Broken by https://github.com/llvm/llvm-project/commit/625841c3be4dbaab089c01217726a2906f3a8103 --- clang/tools/clang-format/clang-format-test.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clang/tools/clang-format/clang-format-test.el b/clang/tools/clang-format/clang-format-test.el index 41df1a9ca68af4..667d606b4f238d 100644 --- a/clang/tools/clang-format/clang-format-test.el +++ b/clang/tools/clang-format/clang-format-test.el @@ -58,16 +58,16 @@ (should-not delete) (should-not display) (should (equal args - '("-output-replacements-xml" "-assume-filename" "foo.cpp" - "-fallback-style" "none" + '("--output-replacements-xml" "--assume-filename" "foo.cpp" + "--fallback-style" "none" ;; Beginning of buffer, no byte-order mark. - "-offset" "0" + "--offset" "0" ;; We have two lines with 2×2 bytes for the umlauts, ;; 1 byte for the line ending, and 3 bytes for the ;; other ASCII characters each. - "-length" "16" + "--length" "16" ;; Length of a single line (without line ending). - "-cursor" "7"))))))) + "--cursor" "7"))))))) (ert-deftest clang-format-buffer--process-encoding () "Tests that text is sent to the clang-format process in the _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits