diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-11-11 17:52:31 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-11-11 17:55:38 +0100 |
commit | a81c1a9c56300669b9edcb187f8f751fd06c2d29 (patch) | |
tree | 22015a405477aa027b81d2c6976781251326db14 | |
parent | a14eb8f47d43c701651ad59f49167a614a8c9773 (diff) | |
download | bcm5719-llvm-a81c1a9c56300669b9edcb187f8f751fd06c2d29.tar.gz bcm5719-llvm-a81c1a9c56300669b9edcb187f8f751fd06c2d29.zip |
[Format] Fix clang-format.el unit tests after commit f349cc37cc485fd5f
Also add a comment that test is not automatically run, and how to run it.
Patch by Philipp Stephani!
-rw-r--r-- | clang/tools/clang-format/clang-format-test.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/tools/clang-format/clang-format-test.el b/clang/tools/clang-format/clang-format-test.el index ee0eaaa31e9..41df1a9ca68 100644 --- a/clang/tools/clang-format/clang-format-test.el +++ b/clang/tools/clang-format/clang-format-test.el @@ -10,7 +10,8 @@ ;;; Commentary: -;; Unit tests for clang-format.el. +;; Unit tests for clang-format.el. Not run by lit, run as: +;; emacs -Q -batch -l clang/tools/clang-format/clang-format.el -l clang/tools/clang-format/clang-format-test.el -f ert-run-tests-batch-and-exit ;;; Code: @@ -58,6 +59,7 @@ (should-not display) (should (equal args '("-output-replacements-xml" "-assume-filename" "foo.cpp" + "-fallback-style" "none" ;; Beginning of buffer, no byte-order mark. "-offset" "0" ;; We have two lines with 2×2 bytes for the umlauts, |