[clang] 158ba73 - Fix clang-format-test.el past 625841c (#106398)

via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 28 07:00:53 PDT 2024


Author: Danial Klimkin
Date: 2024-08-28T16:00:50+02:00
New Revision: 158ba731c9ecaf39f1790728a589797599c38af8

URL: https://github.com/llvm/llvm-project/commit/158ba731c9ecaf39f1790728a589797599c38af8
DIFF: https://github.com/llvm/llvm-project/commit/158ba731c9ecaf39f1790728a589797599c38af8.diff

LOG: Fix clang-format-test.el past 625841c (#106398)

Added: 
    

Modified: 
    clang/tools/clang-format/clang-format-test.el

Removed: 
    


################################################################################
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


        


More information about the cfe-commits mailing list