]> git.lizzy.rs Git - rust.git/blob - crates/ide_completion/src/tests/where_clause.rs
Lift out base item fixture for ide_completion tests
[rust.git] / crates / ide_completion / src / tests / where_clause.rs
1 //! Completion tests for inside of where clauses.
2 //!
3 //! The parent of the where clause tends to bleed completions of itself into the where clause so this
4 //! has to be thoroughly tested.
5 use expect_test::{expect, Expect};
6
7 use crate::tests::completion_list;
8
9 fn check(ra_fixture: &str, expect: Expect) {
10     let actual = completion_list(ra_fixture);
11     expect.assert_eq(&actual)
12 }