mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Move test_utils into tests module
This commit is contained in:
parent
11115ebad8
commit
aa644b5585
26 changed files with 194 additions and 238 deletions
|
@ -11,7 +11,7 @@ use syntax::{
|
|||
};
|
||||
|
||||
#[cfg(test)]
|
||||
use crate::test_utils::{check_pattern_is_applicable, check_pattern_is_not_applicable};
|
||||
use crate::tests::{check_pattern_is_applicable, check_pattern_is_not_applicable};
|
||||
|
||||
/// Immediate previous node to what we are completing.
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||
|
@ -324,7 +324,7 @@ fn previous_non_trivia_token(token: SyntaxToken) -> Option<SyntaxToken> {
|
|||
mod tests {
|
||||
use syntax::algo::find_node_at_offset;
|
||||
|
||||
use crate::test_utils::position;
|
||||
use crate::tests::position;
|
||||
|
||||
use super::*;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue