Fix panic in vim motion when not listed as exclusive and add features enum to capture why tests are ignored

This commit is contained in:
K Simmons 2022-10-24 18:27:56 -07:00
parent c295f943ba
commit 21ad375b42
34 changed files with 678 additions and 688 deletions

View file

@ -372,7 +372,7 @@ mod test {
Mode::{self, *},
Namespace, Operator,
},
test::{NeovimBackedTestContext, VimTestContext},
test::{ExemptionFeatures, NeovimBackedTestContext, VimTestContext},
};
#[gpui::test]
@ -741,11 +741,14 @@ mod test {
brown ˇfox
jumps ˇover"})
.await;
cx.assert(indoc! {"
cx.assert_exempted(
indoc! {"
The quick
ˇ
brown fox"})
.await;
brown fox"},
ExemptionFeatures::DeletionOnEmptyLine,
)
.await;
}
#[gpui::test]