We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db3c604 + 160f527 commit f39548cCopy full SHA for f39548c
tests/haskell-indent-tests.el
@@ -3,6 +3,18 @@
3
(require 'haskell-mode)
4
5
6
+(ert-deftest haskell-indent-in-comment-1 ()
7
+ "Document bad behavior. Should not assert."
8
+ :expected-result :failed
9
+ (should (with-temp-buffer
10
+ (haskell-mode)
11
+ (haskell-indent-mode)
12
+ (insert (concat "module Test where\n"
13
+ "-- {{{ A header\n"
14
+ "--\n"))
15
+ (indent-for-tab-command)
16
+ t)))
17
+
18
19
;; haskell-indent-put-region-in-literate happens to be in haskell-indent
20
;; when the function is moved, move the tests also
0 commit comments