diff --git a/test/indent/rust/deindent-function-closing-brace/in b/test/indent/rust/deindent-function-closing-brace/in index 63c8bb53..ab5cc032 100644 --- a/test/indent/rust/deindent-function-closing-brace/in +++ b/test/indent/rust/deindent-function-closing-brace/in @@ -10,3 +10,6 @@ fn foo() -> i32 {%( )bar() fn foo() -> i32 { bar()%( )} + + fn foo() -> i32 { + bar()%( )} diff --git a/test/indent/rust/deindent-function-closing-brace/out b/test/indent/rust/deindent-function-closing-brace/out index 1a887315..2c58c554 100644 --- a/test/indent/rust/deindent-function-closing-brace/out +++ b/test/indent/rust/deindent-function-closing-brace/out @@ -15,3 +15,7 @@ fn foo() -> i32 { fn foo() -> i32 { bar() } + + fn foo() -> i32 { + bar() + } diff --git a/test/indent/rust/deindent-generic-closing-brace/in b/test/indent/rust/deindent-generic-closing-brace/in index b2f7c26d..21109831 100644 --- a/test/indent/rust/deindent-generic-closing-brace/in +++ b/test/indent/rust/deindent-generic-closing-brace/in @@ -11,6 +11,9 @@ { bar()%( )} + { + bar()%( )} + {(%( ))} {(%( ) @@ -23,3 +26,6 @@ {( bar()%( ))} + + {( + bar()%( ))} diff --git a/test/indent/rust/deindent-generic-closing-brace/out b/test/indent/rust/deindent-generic-closing-brace/out index 58109817..c8615372 100644 --- a/test/indent/rust/deindent-generic-closing-brace/out +++ b/test/indent/rust/deindent-generic-closing-brace/out @@ -16,6 +16,10 @@ bar() } + { + bar() + } + {( )} @@ -33,3 +37,7 @@ {( bar() )} + + {( + bar() + )} diff --git a/test/indent/rust/deindent-if-closing-brace/in b/test/indent/rust/deindent-if-closing-brace/in index d5f59de0..f26c5e62 100644 --- a/test/indent/rust/deindent-if-closing-brace/in +++ b/test/indent/rust/deindent-if-closing-brace/in @@ -10,3 +10,6 @@ if true {%( )bar() if true { bar()%( )} + + if true { + bar()%( )} diff --git a/test/indent/rust/deindent-if-closing-brace/out b/test/indent/rust/deindent-if-closing-brace/out index 2c63bd1c..1276abbe 100644 --- a/test/indent/rust/deindent-if-closing-brace/out +++ b/test/indent/rust/deindent-if-closing-brace/out @@ -15,3 +15,7 @@ if true { if true { bar() } + + if true { + bar() + }