internal: cleanup tests
* ensure standard, non-indented style (should add this check to `fixture` some day) * removed a couple of ignores
This commit is contained in:
parent
7786ab2d44
commit
1e100e8b3e
File diff suppressed because it is too large
Load Diff
@ -105,12 +105,13 @@ fn foo<B: Bar
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "This case is very rare but there is no simple solutions to fix it."]
|
||||
fn replace_impl_trait_with_exist_generic_letter() {
|
||||
// FIXME: This is wrong, we should pick a different name if the one we
|
||||
// want is already bound.
|
||||
check_assist(
|
||||
replace_impl_trait_with_generic,
|
||||
r#"fn foo<B>(bar: $0impl Bar) {}"#,
|
||||
r#"fn foo<B, C: Bar>(bar: C) {}"#,
|
||||
r#"fn foo<B, B: Bar>(bar: B) {}"#,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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};",
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user