From fea20e7b9f5c777fb52ea51ab50ac03ee19ffdba Mon Sep 17 00:00:00 2001 From: Micah Chalmer Date: Sun, 15 Feb 2015 12:16:30 -0500 Subject: Include the last character in indentation tests --- rust-mode-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust-mode-tests.el') 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))) -- cgit v1.2.3