mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Fix test
This commit is contained in:
parent
0f43b55e83
commit
a12ccd5923
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ fn integrated_diagnostics_benchmark() {
|
|||
let mut text = host.analysis().file_text(file_id).unwrap().to_string();
|
||||
patch(&mut text, "db.struct_data(self.id)", "();\ndb.struct_data(self.id)");
|
||||
let mut change = ChangeWithProcMacros::new();
|
||||
change.change_file(file_id, Some(Arc::from(text)));
|
||||
change.change_file(file_id, Some(text));
|
||||
host.apply_change(change);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue