Skip to content

Commit 131dbad

Browse files
non exhaustive
1 parent 20a77e1 commit 131dbad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pgt_completions/src/test_helper.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ pub(crate) async fn assert_complete_results(
202202
let (not_existing, existing): (Vec<CompletionAssertion>, Vec<CompletionAssertion>) =
203203
assertions.into_iter().partition(|a| match a {
204204
CompletionAssertion::LabelNotExists(_) | CompletionAssertion::KindNotExists(_) => true,
205-
_ => false,
205+
CompletionAssertion::Label(_) | CompletionAssertion::LabelAndKind(_, _) => false,
206206
});
207207

208208
assert!(

0 commit comments

Comments
 (0)