mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Introduce completion test utils
This commit is contained in:
parent
9b0b59c5d2
commit
dad8f1e064
16 changed files with 49 additions and 48 deletions
|
@ -217,7 +217,7 @@ fn make_const_compl_syntax(const_: &ast::ConstDef) -> String {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::completion::{do_completion, CompletionItem, CompletionKind};
|
||||
use crate::completion::{test_utils::do_completion, CompletionItem, CompletionKind};
|
||||
use insta::assert_debug_snapshot;
|
||||
|
||||
fn complete(code: &str) -> Vec<CompletionItem> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue