mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic ws protocol: improve Arbitrary impl for JsonValue
This commit is contained in:
parent
acc1a0fd74
commit
c69b09ab9c
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ mod tests {
|
||||||
|
|
||||||
impl Arbitrary for JsonValue {
|
impl Arbitrary for JsonValue {
|
||||||
fn arbitrary<G: quickcheck::Gen>(g: &mut G) -> Self {
|
fn arbitrary<G: quickcheck::Gen>(g: &mut G) -> Self {
|
||||||
Self(::serde_json::json!(r#"{ "sdp": "test" }"#))
|
Self(::serde_json::json!({ "sdp": "test" }))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue