diff options
| author | acdenisSK <[email protected]> | 2017-07-27 06:42:48 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-27 07:30:23 +0200 |
| commit | 550030264952f0e0043b63f4582bb817ef8bbf37 (patch) | |
| tree | b921e2f78fd603a5ca671623083a32806fd16090 /tests/test_create_embed.rs | |
| parent | Use a consistent indentation style (diff) | |
| download | serenity-550030264952f0e0043b63f4582bb817ef8bbf37.tar.xz serenity-550030264952f0e0043b63f4582bb817ef8bbf37.zip | |
rustfmt
Diffstat (limited to 'tests/test_create_embed.rs')
| -rw-r--r-- | tests/test_create_embed.rs | 15 |
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, |