Skip to content

Commit d454138

Browse files
author
Allen Li
committed
[clang-format] Fix test
Broken by 625841c
1 parent 91e09c3 commit d454138

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@
5858
(should-not delete)
5959
(should-not display)
6060
(should (equal args
61-
'("-output-replacements-xml" "-assume-filename" "foo.cpp"
62-
"-fallback-style" "none"
61+
'("--output-replacements-xml" "--assume-filename" "foo.cpp"
62+
"--fallback-style" "none"
6363
;; Beginning of buffer, no byte-order mark.
64-
"-offset" "0"
64+
"--offset" "0"
6565
;; We have two lines with 2×2 bytes for the umlauts,
6666
;; 1 byte for the line ending, and 3 bytes for the
6767
;; other ASCII characters each.
68-
"-length" "16"
68+
"--length" "16"
6969
;; Length of a single line (without line ending).
70-
"-cursor" "7")))))))
70+
"--cursor" "7")))))))
7171

7272
(ert-deftest clang-format-buffer--process-encoding ()
7373
"Tests that text is sent to the clang-format process in the

0 commit comments

Comments
 (0)