aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_proc_macro/src
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-03-26 21:08:26 +0000
committerEdwin Cheng <[email protected]>2020-03-31 15:20:18 +0100
commitfa621f80fabe2c9d36fb2af57785e184fb331939 (patch)
tree6725c981985895e4071e0928dce45cf13a609118 /crates/ra_proc_macro/src
parent503cbd3f4b54f3be224d7a4221fa023f0e35d228 (diff)
Fix test
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);