aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/helpers/insert_use
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-15 10:48:05 +0100
committerAleksey Kladov <[email protected]>2021-06-15 10:48:05 +0100
commit1e100e8b3e87fa3414760889c59e9511e3a43a43 (patch)
treec46da0f7ded3abd3428763cd92cfa21e1bd2b24c /crates/ide_db/src/helpers/insert_use
parent7786ab2d44518a1f78d4b1e750cab401740ecb80 (diff)
internal: cleanup tests
* ensure standard, non-indented style (should add this check to `fixture` some day) * removed a couple of ignores
Diffstat (limited to 'crates/ide_db/src/helpers/insert_use')
-rw-r--r--crates/ide_db/src/helpers/insert_use/tests.rs7
1 files changed, 4 insertions, 3 deletions
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;
511} 511}
512 512
513#[test] 513#[test]
514#[ignore] // FIXME: Support this
515fn split_out_merge() { 514fn split_out_merge() {
515 // FIXME: This is suboptimal, we want to get `use std::fmt::{self, Result}`
516 // instead.
516 check_module( 517 check_module(
517 "std::fmt::Result", 518 "std::fmt::Result",
518 r"use std::{fmt, io};", 519 r"use std::{fmt, io};",
519 r"use std::fmt::{self, Result}; 520 r"use std::fmt::Result;
520use std::io;", 521use std::{fmt, io};",
521 ) 522 )
522} 523}
523 524