aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_proc_macro/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_proc_macro/src')
-rw-r--r--crates/ra_proc_macro/src/rpc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_proc_macro/src/rpc.rs b/crates/ra_proc_macro/src/rpc.rs
index e7eaf7c15..f88d91f78 100644
--- a/crates/ra_proc_macro/src/rpc.rs
+++ b/crates/ra_proc_macro/src/rpc.rs
@@ -252,7 +252,7 @@ mod tests {
252 assert_eq!(task.macro_body, back.macro_body); 252 assert_eq!(task.macro_body, back.macro_body);
253 253
254 let result = ExpansionResult { expansion: tt.clone() }; 254 let result = ExpansionResult { expansion: tt.clone() };
255 let json = serde_json::to_string(&task).unwrap(); 255 let json = serde_json::to_string(&result).unwrap();
256 let back: ExpansionResult = serde_json::from_str(&json).unwrap(); 256 let back: ExpansionResult = serde_json::from_str(&json).unwrap();
257 257
258 assert_eq!(result, back); 258 assert_eq!(result, back);