mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
implement type_name intrinsic
This commit is contained in:
parent
274e8301c1
commit
5208bf8f55
7 changed files with 158 additions and 56 deletions
|
@ -26,7 +26,7 @@ pub trait WithFixture: Default + SourceDatabaseExt + 'static {
|
|||
let fixture = ChangeFixture::parse(ra_fixture);
|
||||
let mut db = Self::default();
|
||||
fixture.change.apply(&mut db);
|
||||
assert_eq!(fixture.files.len(), 1);
|
||||
assert_eq!(fixture.files.len(), 1, "Multiple file found in the fixture");
|
||||
(db, fixture.files[0])
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue