summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rust-mode-tests.el2
1 files changed, 1 insertions, 1 deletions
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)))