mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +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
|
@ -121,7 +121,7 @@ impl<'a> EnumRender<'a> {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::test_utils::check_edit;
|
||||
use crate::tests::check_edit;
|
||||
|
||||
#[test]
|
||||
fn inserts_parens_for_tuple_enums() {
|
||||
|
|
|
@ -191,7 +191,7 @@ impl<'a> FunctionRender<'a> {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::{
|
||||
test_utils::{check_edit, check_edit_with_config, TEST_CONFIG},
|
||||
tests::{check_edit, check_edit_with_config, TEST_CONFIG},
|
||||
CompletionConfig,
|
||||
};
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ fn guess_macro_braces(macro_name: &str, docs: &str) -> (&'static str, &'static s
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::test_utils::check_edit;
|
||||
use crate::tests::check_edit;
|
||||
|
||||
#[test]
|
||||
fn dont_insert_macro_call_parens_unncessary() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue