aquatic ws protocol: improve Arbitrary impl for JsonValue

This commit is contained in:
Joakim Frostegård 2020-08-12 05:22:37 +02:00
parent acc1a0fd74
commit c69b09ab9c

View file

@ -350,7 +350,7 @@ mod tests {
impl Arbitrary for JsonValue {
fn arbitrary<G: quickcheck::Gen>(g: &mut G) -> Self {
Self(::serde_json::json!(r#"{ "sdp": "test" }"#))
Self(::serde_json::json!({ "sdp": "test" }))
}
}