Skip to content

Commit 4ab2d8c

Browse files
committed
Merge pull request #1018 from gracjan/pr-show-expected-first
Show expected result first in haskell indentation tests
2 parents bd9960b + d6eb5e8 commit 4ab2d8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/haskell-indentation-tests.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ because it helps increase coverage."
7777
(goto-char (point-min))
7878
(forward-line (1- line))
7979
(should
80-
(equal (cons (line-number-at-pos)
80+
(equal current
81+
(cons (line-number-at-pos)
8182
(condition-case condition
8283
(haskell-indentation-find-indentations)
8384
(error
8485
;; for unknown reason Emacs 24.4 ERT does not
8586
;; catch overrun recursion, so we have to
8687
;; catch it here, and throw it again
87-
(signal (car condition) (cdr condition)))))
88-
current))))))
88+
(signal (car condition) (cdr condition)))))))))))
8989

9090
(defmacro hindent-test (name source &rest test-cases)
9191
"Define ert test using `haskell-indentation-check'.

0 commit comments

Comments
 (0)