Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tests/haskell-indent-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
(require 'haskell-mode)


(ert-deftest haskell-indent-in-comment-1 ()
"Document bad behavior. Should not assert."
:expected-result :failed
(should (with-temp-buffer
(haskell-mode)
(haskell-indent-mode)
(insert (concat "module Test where\n"
"-- {{{ A header\n"
"--\n"))
(indent-for-tab-command)
t)))


;; haskell-indent-put-region-in-literate happens to be in haskell-indent
;; when the function is moved, move the tests also
Expand Down