emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode fea20e7 131/486: Include the last character in i


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode fea20e7 131/486: Include the last character in indentation tests
Date: Sat, 7 Aug 2021 09:25:04 -0400 (EDT)

branch: elpa/rust-mode
commit fea20e7b9f5c777fb52ea51ab50ac03ee19ffdba
Author: Micah Chalmer <micah@micahchalmer.net>
Commit: Micah Chalmer <micah@micahchalmer.net>

    Include the last character in indentation tests
---
 rust-mode-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index 0bdf680..50fb8a0 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -293,7 +293,7 @@ very very very long string
        ;; The indentation will fail in some cases if the syntax properties are
        ;; not set.  This only happens when font-lock fontifies the buffer.
        (font-lock-fontify-buffer)
-       (indent-region 1 (buffer-size)))
+       (indent-region 1 (+ 1 (buffer-size))))
      indented)))
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]