mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-21 02:37:05 +01:00
cargo fmt
This commit is contained in:
@@ -25,7 +25,6 @@ use serde_json as json;
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
use tokio::time::sleep;
|
||||
|
||||
|
||||
pub use auth::{GetToken, NoToken};
|
||||
pub use chrono;
|
||||
pub use field_mask::FieldMask;
|
||||
@@ -778,7 +777,7 @@ mod test_api {
|
||||
use std::str::FromStr;
|
||||
|
||||
use ::serde::{Deserialize, Serialize};
|
||||
|
||||
|
||||
use serde_json as json;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -261,10 +261,7 @@ mod test {
|
||||
fn urlsafe_base64_de_success_cases() {
|
||||
let wrapper: Base64Wrapper =
|
||||
serde_json::from_str(r#"{"bytes": "aGVsbG8gd29ybGQ="}"#).unwrap();
|
||||
assert_eq!(
|
||||
Some(b"hello world".as_slice()),
|
||||
wrapper.bytes.as_deref()
|
||||
);
|
||||
assert_eq!(Some(b"hello world".as_slice()), wrapper.bytes.as_deref());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user