Fix test
This commit is contained in:
parent
503cbd3f4b
commit
fa621f80fa
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1079,7 +1079,6 @@ dependencies = [
|
||||
"log",
|
||||
"ra_tt",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"serde_json",
|
||||
]
|
||||
|
||||
|
@ -10,8 +10,7 @@ doctest = false
|
||||
|
||||
[dependencies]
|
||||
ra_tt = { path = "../ra_tt" }
|
||||
serde_derive = "1.0.104"
|
||||
serde = "1.0.104"
|
||||
serde_json = "1.0.48"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
log = "0.4.8"
|
||||
crossbeam-channel = "0.4.0"
|
||||
|
@ -252,7 +252,7 @@ fn test_proc_macro_rpc_works() {
|
||||
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…
Reference in New Issue
Block a user