Skip to content

Commit 0f65654

Browse files
wasamasajosteink
authored andcommitted
Add regression test
1 parent af61254 commit 0f65654

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

csharp-mode-tests.el

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,15 @@
377377

378378
(should (equal orig-content indented-content))))
379379

380+
(ert-deftest region-directive-comment-movement ()
381+
(find-file "test-files/region-fontification.cs")
382+
(csharp-mode)
383+
(goto-char (point-min))
384+
(search-forward "#region ")
385+
(forward-word 1)
386+
(forward-word -1)
387+
(should (looking-at "fontifies")))
388+
380389
;;(ert-run-tests-interactively t)
381390
;; (local-set-key (kbd "<f6>") '(lambda ()
382391
;; (interactive)

0 commit comments

Comments
 (0)