This commit is contained in:
Tim Maddison 2021-07-23 10:09:02 +01:00
parent fa218b435e
commit f318e02610

View File

@ -1,8 +1,9 @@
use std::collections::HashMap;
use crate::Value;
use serde::Serialize;
use crate::Value;
/// Generate the page for GraphQL Playground
///
/// # Example
@ -632,7 +633,7 @@ mod tests {
.with_setting("bool", false)
.with_setting("number", 10)
.with_setting("null", Value::Null)
.with_setting("array", Vec::from([1,2,3]))
.with_setting("array", Vec::from([1, 2, 3]))
.with_setting("object", BTreeMap::new());
let json = serde_json::to_value(settings).unwrap();