Skip to content

Conversation

@darkfeline
Copy link
Contributor

Broken by 625841c

@llvmbot
Copy link
Member

llvmbot commented Aug 27, 2024

@llvm/pr-subscribers-clang-format

Author: None (darkfeline)

Changes

Broken by 625841c


Full diff: https://github.com/llvm/llvm-project/pull/106305.diff

1 Files Affected:

  • (modified) clang/tools/clang-format/clang-format-test.el (+5-5)
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

@darkfeline
Copy link
Contributor Author

@HazardyKnusperkeks @owenca @sam-mccall tagging some people based on git history; apologies if you aren't the right person

@owenca
Copy link
Contributor

owenca commented Aug 28, 2024

Please give a more descriptive title.

@darkfeline darkfeline changed the title [clang-format] Fix test [clang-format] Fix clang-format-buffer--buffer-encoding test Aug 28, 2024
@darkfeline
Copy link
Contributor Author

Please give a more descriptive title.

Sorry about that, done

@dklimkin
Copy link
Member

Hi darkfeline,

Sorry I didn't see your PR and merged #106398 earlier. Please consider closing this one.

@darkfeline darkfeline closed this Aug 29, 2024
@darkfeline darkfeline deleted the fix branch August 29, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants