mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Fix test
This commit is contained in:
parent
503cbd3f4b
commit
fa621f80fa
3 changed files with 3 additions and 5 deletions
|
@ -252,7 +252,7 @@ mod tests {
|
|||
assert_eq!(task.macro_body, back.macro_body);
|
||||
|
||||
let result = ExpansionResult { expansion: tt.clone() };
|
||||
let json = serde_json::to_string(&task).unwrap();
|
||||
let json = serde_json::to_string(&result).unwrap();
|
||||
let back: ExpansionResult = serde_json::from_str(&json).unwrap();
|
||||
|
||||
assert_eq!(result, back);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue