aboutsummaryrefslogtreecommitdiff
path: root/tests/test_create_embed.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-27 06:42:48 +0200
committeracdenisSK <[email protected]>2017-07-27 07:30:23 +0200
commit550030264952f0e0043b63f4582bb817ef8bbf37 (patch)
treeb921e2f78fd603a5ca671623083a32806fd16090 /tests/test_create_embed.rs
parentUse a consistent indentation style (diff)
downloadserenity-550030264952f0e0043b63f4582bb817ef8bbf37.tar.xz
serenity-550030264952f0e0043b63f4582bb817ef8bbf37.zip
rustfmt
Diffstat (limited to 'tests/test_create_embed.rs')
-rw-r--r--tests/test_create_embed.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/test_create_embed.rs b/tests/test_create_embed.rs
index 527d3e8..5e15c63 100644
--- a/tests/test_create_embed.rs
+++ b/tests/test_create_embed.rs
@@ -1,6 +1,7 @@
-#![cfg(feature="utils")]
+#![cfg(feature = "utils")]
-#[macro_use] extern crate serde_json;
+#[macro_use]
+extern crate serde_json;
extern crate serenity;
use serde_json::Value;
@@ -28,11 +29,11 @@ fn test_from_embed() {
],
footer: None,
image: Some(EmbedImage {
- height: 213,
- proxy_url: "a".to_owned(),
- url: "https://i.imgur.com/XfWpfCV.gif".to_owned(),
- width: 224,
- }),
+ height: 213,
+ proxy_url: "a".to_owned(),
+ url: "https://i.imgur.com/XfWpfCV.gif".to_owned(),
+ width: 224,
+ }),
kind: "rich".to_owned(),
provider: None,
thumbnail: None,