summaryrefslogtreecommitdiff
path: root/rust-mode-tests.el
diff options
context:
space:
mode:
authorMicah Chalmer <micah@micahchalmer.net>2015-02-15 12:16:30 -0500
committerMicah Chalmer <micah@micahchalmer.net>2015-02-15 12:23:44 -0500
commitfea20e7b9f5c777fb52ea51ab50ac03ee19ffdba (patch)
tree0b9e828eef78e605965a920ca82365133961092b /rust-mode-tests.el
parentc7413e6b4422e6dc5a7e84d329121205b4b537ac (diff)
downloadrust-mode-fea20e7b9f5c777fb52ea51ab50ac03ee19ffdba.tar.gz
Include the last character in indentation tests
Diffstat (limited to 'rust-mode-tests.el')
-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)))