Add a test for #2178

This commit is contained in:
topecongiro 2017-11-30 15:00:13 +09:00
parent b8106eb2aa
commit 0f6b4977dd
2 changed files with 11 additions and 0 deletions

View File

@ -355,3 +355,7 @@ fn newlines_between_list_like_expr() {
_ => bar(),
};
}
fn issue2178() {
Ok(result.iter().map(|item| ls_util::rls_to_location(item)).collect())
}

View File

@ -408,3 +408,10 @@ fn newlines_between_list_like_expr() {
_ => bar(),
};
}
fn issue2178() {
Ok(result
.iter()
.map(|item| ls_util::rls_to_location(item))
.collect())
}