diff options
| author | Micah Chalmer <micah@micahchalmer.net> | 2013-09-07 00:38:23 -0400 |
|---|---|---|
| committer | Micah Chalmer <micah@micahchalmer.net> | 2013-09-07 00:38:23 -0400 |
| commit | 131cebba67c27ca5b632b80a49a5568be39a10a7 (patch) | |
| tree | 0548a26a370c6d6e9e97f692a444e1ef907cf159 /rust-mode-tests.el | |
| parent | b83aabf510e0754a9b0e192b5426c775ae13e255 (diff) | |
| download | rust-mode-131cebba67c27ca5b632b80a49a5568be39a10a7.tar.gz | |
Fix regression of multi-line statement indents
Diffstat (limited to 'rust-mode-tests.el')
| -rw-r--r-- | rust-mode-tests.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index a7cb261..ac5b1b1 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -378,3 +378,15 @@ fn nexted_fns(a: fn(b:int, } " )) + +(ert-deftest indent-multi-line-expr () + (test-indent + " +fn foo() +{ + x(); + let a = + b(); +} +" +)) |
