diff options
author | Aleksey Kladov <[email protected]> | 2018-09-02 23:52:59 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-09-02 23:52:59 +0100 |
commit | fdd282ee0c7c627120bbcd7b78c0c6b7acb3556f (patch) | |
tree | 0f94313ed94f41e569557b94bc2272aa5c763cad /crates/libeditor | |
parent | 23303cd0f8298c2d7b082fcb04919454c1c306ab (diff) |
improve test
Diffstat (limited to 'crates/libeditor')
-rw-r--r-- | crates/libeditor/src/scope/fn_scope.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/libeditor/src/scope/fn_scope.rs b/crates/libeditor/src/scope/fn_scope.rs index 42cd71eb5..abc8d34e7 100644 --- a/crates/libeditor/src/scope/fn_scope.rs +++ b/crates/libeditor/src/scope/fn_scope.rs | |||
@@ -261,11 +261,11 @@ mod tests { | |||
261 | fn test_lambda_scope() { | 261 | fn test_lambda_scope() { |
262 | do_check(r" | 262 | do_check(r" |
263 | fn quux(foo: i32) { | 263 | fn quux(foo: i32) { |
264 | let f = |bar| { | 264 | let f = |bar, baz: i32| { |
265 | <|> | 265 | <|> |
266 | }; | 266 | }; |
267 | }", | 267 | }", |
268 | &["bar", "foo"], | 268 | &["bar", "baz", "foo"], |
269 | ); | 269 | ); |
270 | } | 270 | } |
271 | 271 | ||