Get rid of MockAnalysis

This commit is contained in:
Aleksey Kladov 2020-10-02 16:13:48 +02:00
parent eeb27f95f1
commit 09348b2474
19 changed files with 288 additions and 420 deletions

View file

@ -462,12 +462,12 @@ macro_rules! noop {
fn test_extern_crate() {
check_highlighting(
r#"
//- /main.rs
//- /main.rs crate:main deps:std,alloc
extern crate std;
extern crate alloc as abc;
//- /std/lib.rs
//- /std/lib.rs crate:std
pub struct S;
//- /alloc/lib.rs
//- /alloc/lib.rs crate:alloc
pub struct A
"#,
expect_file!["./test_data/highlight_extern_crate.html"],