add failing test: inserts_after_shebang

This commit is contained in:
Jeremy Banks 2022-06-15 16:25:47 +00:00 committed by GitHub
parent d39d520a21
commit f32ad8362f

View file

@ -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(