Skip to content

Commit 39f076e

Browse files
committed
Fix a test, calling diff-hl-update directly
1 parent f3408d5 commit 39f076e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/diff-hl-test.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
(insert "added\n")
118118
(save-buffer)
119119
(diff-hl-mode 1)
120+
(diff-hl-update)
120121
(diff-hl-previous-hunk)
121122
(should (looking-at "added"))
122123
(diff-hl-previous-hunk)
@@ -137,6 +138,7 @@
137138
(insert "added\n")
138139
(save-buffer)
139140
(diff-hl-mode 1)
141+
(diff-hl-update)
140142

141143
;; wait for all thread to complete.
142144
(dolist (thread (all-threads))

0 commit comments

Comments
 (0)