branch: elpa/julia-mode commit 5812bc37524ca3e5f07a9e83bfeeeb25fb0fd4f9 Author: Tamas K. Papp <tkp...@gmail.com> Commit: Tamas K. Papp <tkp...@gmail.com>
Added tests for parentheses following keywords. Since the previous commit fixes #27 too. --- julia-mode-tests.el | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/julia-mode-tests.el b/julia-mode-tests.el index 8fd1882..e813657 100644 --- a/julia-mode-tests.el +++ b/julia-mode-tests.el @@ -374,6 +374,27 @@ end" end end")) +(ert-deftest julia--test-indent-keyword-paren () + "indentation for ( following keywords" + "if( a>0 ) +end + + function( i=1:2 ) + for( j=1:2 ) + for( k=1:2 ) + end + end + end" + "if( a>0 ) +end + +function( i=1:2 ) + for( j=1:2 ) + for( k=1:2 ) + end + end +end") + (ert-deftest julia--test-symbol-font-locking-at-bol () "Symbols get font-locked at beginning or line." (julia--should-font-lock