From 1e100e8b3e87fa3414760889c59e9511e3a43a43 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 15 Jun 2021 12:48:05 +0300 Subject: internal: cleanup tests * ensure standard, non-indented style (should add this check to `fixture` some day) * removed a couple of ignores --- crates/ide_db/src/helpers/insert_use/tests.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crates/ide_db') diff --git a/crates/ide_db/src/helpers/insert_use/tests.rs b/crates/ide_db/src/helpers/insert_use/tests.rs index 70b11bf81..5a88ec742 100644 --- a/crates/ide_db/src/helpers/insert_use/tests.rs +++ b/crates/ide_db/src/helpers/insert_use/tests.rs @@ -511,13 +511,14 @@ use std::io; } #[test] -#[ignore] // FIXME: Support this fn split_out_merge() { + // FIXME: This is suboptimal, we want to get `use std::fmt::{self, Result}` + // instead. check_module( "std::fmt::Result", r"use std::{fmt, io};", - r"use std::fmt::{self, Result}; -use std::io;", + r"use std::fmt::Result; +use std::{fmt, io};", ) } -- cgit v1.2.3