Skip to content

Commit b4e936f

Browse files
committed
Test for correct amount of emitted folds
1 parent 156d995 commit b4e936f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/ide/src/folding_ranges.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,8 @@ fn foo()<fold returntype>-> (
572572
bool,
573573
bool,
574574
)</fold> { (true, true) }
575+
576+
fn bar() -> (bool, bool) { (true, true) }
575577
"#,
576578
)
577579
}

0 commit comments

Comments
 (0)