Move test_utils into tests module

This commit is contained in:
Lukas Wirth 2021-06-16 21:45:02 +02:00
parent 11115ebad8
commit aa644b5585
26 changed files with 194 additions and 238 deletions

View file

@ -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() {

View file

@ -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,
};

View file

@ -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() {