Test folded buffers navigation (#26286)

#25944 but now with Vim mode off.

Release Notes:

- N/A
This commit is contained in:
João Marcos
2025-03-07 16:19:12 +00:00
committed by GitHub
parent 14148f53d4
commit e06d010aab
2 changed files with 199 additions and 4 deletions
@@ -429,12 +429,14 @@ impl EditorTestContext {
if expected_selections.len() > 0 {
assert!(
is_selected,
"excerpt {} should be selected. Got {:?}",
ix,
self.editor_state()
"excerpt {ix} should be selected. got {:?}",
self.editor_state(),
);
} else {
assert!(!is_selected, "excerpt {} should not be selected", ix);
assert!(
!is_selected,
"excerpt {ix} should not be selected, got: {selections:?}",
);
}
continue;
}