mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
add failing test: inserts_after_shebang
This commit is contained in:
parent
d39d520a21
commit
f32ad8362f
1 changed files with 11 additions and 0 deletions
|
@ -454,6 +454,17 @@ use foo::bar::Baz;"#,
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn inserts_after_shebang() {
|
||||
check_none(
|
||||
"foo::bar::Baz",
|
||||
"#!/usr/bin/env rust",
|
||||
r#"#!/usr/bin/env rust
|
||||
|
||||
use foo::bar::Baz;"#,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn inserts_after_multiple_single_line_comments() {
|
||||
check_none(
|
||||
|
|
Loading…
Reference in a new issue