Run `cargo fmt`
This commit is contained in:
parent
c837a13121
commit
d5c98510db
|
@ -42,7 +42,10 @@ mod tests {
|
|||
resource_types: vec![String::from("obfs2"), String::from("scramblesuit")],
|
||||
};
|
||||
let json = serde_json::to_string(&req).unwrap();
|
||||
assert_eq!(json, "{\"request_origin\":\"https\",\"resource_types\":[\"obfs2\",\"scramblesuit\"]}")
|
||||
assert_eq!(
|
||||
json,
|
||||
"{\"request_origin\":\"https\",\"resource_types\":[\"obfs2\",\"scramblesuit\"]}"
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -51,7 +54,10 @@ mod tests {
|
|||
flags.insert(String::from("fast"), true);
|
||||
flags.insert(String::from("stable"), true);
|
||||
let mut params = HashMap::new();
|
||||
params.insert(String::from("password"), String::from("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"));
|
||||
params.insert(
|
||||
String::from("password"),
|
||||
String::from("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),
|
||||
);
|
||||
let bridge = Resource {
|
||||
r#type: String::from("scramblesuit"),
|
||||
blocked_in: HashMap::new(),
|
||||
|
|
Loading…
Reference in New Issue