mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Reformat
This commit is contained in:
parent
757e593b25
commit
27b362b059
3 changed files with 7 additions and 10 deletions
|
@ -332,8 +332,7 @@ fn bar() {
|
|||
"#
|
||||
.trim(),
|
||||
);
|
||||
let dst_file =
|
||||
project_dir().join("crates/ra_ide/src/snapshots/rainbow_highlighting.html");
|
||||
let dst_file = project_dir().join("crates/ra_ide/src/snapshots/rainbow_highlighting.html");
|
||||
let actual_html = &analysis.highlight_as_html(file_id, true).unwrap();
|
||||
let expected_html = &read_text(&dst_file);
|
||||
std::fs::write(dst_file, &actual_html).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue