We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cff017b commit 547ac4fCopy full SHA for 547ac4f
tests/haskell-indentation-tests.el
@@ -952,6 +952,29 @@ data Foo = Bar
952
(2 9)
953
(3 9))
954
955
+(hindent-test "56 module name on next line" "
956
+module
957
+ X"
958
+ (1 0)
959
+ (2 2))
960
+
961
+(hindent-test "57* module continued" "
962
+module X"
963
964
965
966
+(hindent-test "58 module where same line" "
967
+module X where"
968
969
+ (2 0))
970
971
+(hindent-test "59* module where same line" "
972
+module X
973
+ where"
974
975
+ (2 0)
976
+ (3 0))
977
978
(ert-deftest haskell-indentation-ret-indents ()
979
(with-temp-switch-to-buffer
980
(haskell-mode)
0 commit comments