Skip to content

Commit fea20e7

Browse files
committed
Include the last character in indentation tests
1 parent c7413e6 commit fea20e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-mode-tests.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ very very very long string
293293
;; The indentation will fail in some cases if the syntax properties are
294294
;; not set. This only happens when font-lock fontifies the buffer.
295295
(font-lock-fontify-buffer)
296-
(indent-region 1 (buffer-size)))
296+
(indent-region 1 (+ 1 (buffer-size))))
297297
indented)))
298298

299299

0 commit comments

Comments
 (0)