branch: elpa/julia-mode
commit ff8adf5316224ef57c100a708185866f13965102
Author: Yichao Yu <[email protected]>
Commit: Yichao Yu <[email protected]>
Add tests for #11684. [ci skip]
---
julia-mode.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/julia-mode.el b/julia-mode.el
index 407c8b6..31c2df8 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -542,6 +542,18 @@ if foo
bar
end"))
+ (ert-deftest julia--test-indent-comment-equal ()
+ "`=` at the end of comment should not increase indent level."
+ (julia--should-indent
+ "
+# a =
+# b =
+c"
+ "
+# a =
+# b =
+c"))
+
(defun julia--run-tests ()
(interactive)
(ert-run-tests-interactively "julia--test")))