mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 23:25:03 +00:00
Use upstream cov-mark
This commit is contained in:
parent
c5189a22cc
commit
fc9eed4836
101 changed files with 354 additions and 514 deletions
|
@ -51,7 +51,7 @@ use std::bar::G;",
|
|||
|
||||
#[test]
|
||||
fn insert_start_indent() {
|
||||
mark::check!(insert_use_indent_after);
|
||||
cov_mark::check!(insert_use_indent_after);
|
||||
check_none(
|
||||
"std::bar::AA",
|
||||
r"
|
||||
|
@ -120,7 +120,7 @@ use std::bar::ZZ;",
|
|||
|
||||
#[test]
|
||||
fn insert_end_indent() {
|
||||
mark::check!(insert_use_indent_before);
|
||||
cov_mark::check!(insert_use_indent_before);
|
||||
check_none(
|
||||
"std::bar::ZZ",
|
||||
r"
|
||||
|
@ -255,7 +255,7 @@ fn insert_empty_file() {
|
|||
|
||||
#[test]
|
||||
fn insert_empty_module() {
|
||||
mark::check!(insert_use_no_indent_after);
|
||||
cov_mark::check!(insert_use_no_indent_after);
|
||||
check(
|
||||
"foo::bar",
|
||||
"mod x {}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue