branch: elpa/julia-mode
commit e22219fa918f405438200b95d433a44451a2916a
Author: Tamas K. Papp <tkp...@gmail.com>
Commit: Tamas K. Papp <tkp...@gmail.com>

    Added another test.
---
 julia-mode-tests.el | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/julia-mode-tests.el b/julia-mode-tests.el
index d480e6b..3a0c8dd 100644
--- a/julia-mode-tests.el
+++ b/julia-mode-tests.el
@@ -374,6 +374,18 @@ end"
     end
 end"))
 
+(ert-deftest julia--test-backslash-indent ()
+  "indentation for function(args...)"
+  (julia--should-indent
+   "(\)
+   1
+   (:\)
+       1"
+   "(\)
+1
+(:\)
+1"))
+
 (ert-deftest julia--test-indent-keyword-paren ()
   "indentation for ( following keywords"
   "if( a>0 )

Reply via email to