branch: elpa/rust-mode
commit fea20e7b9f5c777fb52ea51ab50ac03ee19ffdba
Author: Micah Chalmer <[email protected]>
Commit: Micah Chalmer <[email protected]>
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)))