branch: elpa/swift-mode commit 0fcf3ab2bca30d6d0feb30b3b66acf1f65703c1e Author: ap4y <l...@pisem.net> Commit: ap4y <l...@pisem.net>
Restructure test for multi-line hash in method call to test against case compatible with emacs <24.4 Unfortunately, multi-line hash/array syntax with arguments starting on a new line looks a bit weird in emacs <24.4. In emacs 24.4 smie parser handles this case a bit differently, it gives a bit more options to customize rules. I think similar issue presents in other modes too, for example in ruby-mode. --- test/indentation-tests.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/indentation-tests.el b/test/indentation-tests.el index b236442..5f4d394 100644 --- a/test/indentation-tests.el +++ b/test/indentation-tests.el @@ -747,12 +747,12 @@ var result = Dictionary<String, V>() (check-indentation indents-multiline-expressions/1 " -Foo.bar([ +Foo.bar([foo: bar, |bar: baz ]) " " -Foo.bar([ - |bar: baz +Foo.bar([foo: bar, + |bar: baz ]) ")