Allow spaces in types for decl_storage proc_macro (#1245)

* Do not try to fix type display for metadata in rust.

* Fix test (adding extra space (we can see it as a canary: if at some
point quote got a better output the test will fail and js space removal
could be remove)).
This commit is contained in:
cheme
2018-12-10 16:24:31 +01:00
committed by Bastian Köcher
parent 507c13e31c
commit 5f48493b9a
2 changed files with 3 additions and 4 deletions
@@ -677,7 +677,7 @@ mod tests {
StorageFunctionMetadata {
name: DecodeDifferent::Encode("GETU32"),
modifier: StorageFunctionModifier::Default,
ty: StorageFunctionType::Plain(DecodeDifferent::Encode("T::Origin")),
ty: StorageFunctionType::Plain(DecodeDifferent::Encode("T :: Origin")),
documentation: DecodeDifferent::Encode(&[]),
},
StorageFunctionMetadata {