Source map returns a result

cc #2236
This commit is contained in:
Aleksey Kladov 2020-03-06 14:44:44 +01:00
parent ea0c124219
commit fb5891c433
6 changed files with 26 additions and 18 deletions

View file

@ -21,9 +21,9 @@ pub trait WithFixture: Default + SourceDatabaseExt + 'static {
(db, file_id)
}
fn with_files(fixture: &str) -> Self {
fn with_files(ra_fixture: &str) -> Self {
let mut db = Self::default();
let pos = with_files(&mut db, fixture);
let pos = with_files(&mut db, ra_fixture);
assert!(pos.is_none());
db
}