diff options
author | Ayomide Bamidele <[email protected]> | 2021-05-28 13:10:41 +0100 |
---|---|---|
committer | Ayomide Bamidele <[email protected]> | 2021-05-28 13:10:41 +0100 |
commit | b4e936f8f09a3f7825de7ca2287d5daa5bf637f3 (patch) | |
tree | 1bd2c80d480708b86053cfae99f2b01e39d91ead /crates | |
parent | 156d9954236e8dba849bee939c094c337120780a (diff) |
Test for correct amount of emitted folds
Diffstat (limited to 'crates')
-rwxr-xr-x | crates/ide/src/folding_ranges.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ide/src/folding_ranges.rs b/crates/ide/src/folding_ranges.rs index ce8473d94..c5015a345 100755 --- a/crates/ide/src/folding_ranges.rs +++ b/crates/ide/src/folding_ranges.rs | |||
@@ -572,6 +572,8 @@ fn foo()<fold returntype>-> ( | |||
572 | bool, | 572 | bool, |
573 | bool, | 573 | bool, |
574 | )</fold> { (true, true) } | 574 | )</fold> { (true, true) } |
575 | |||
576 | fn bar() -> (bool, bool) { (true, true) } | ||
575 | "#, | 577 | "#, |
576 | ) | 578 | ) |
577 | } | 579 | } |