Reformat
This commit is contained in:
parent
f9451c09b9
commit
ef70b913e4
|
@ -1,8 +1,9 @@
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use crate::Value;
|
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
|
|
||||||
|
use crate::Value;
|
||||||
|
|
||||||
/// Generate the page for GraphQL Playground
|
/// Generate the page for GraphQL Playground
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
|
@ -632,7 +633,7 @@ mod tests {
|
||||||
.with_setting("bool", false)
|
.with_setting("bool", false)
|
||||||
.with_setting("number", 10)
|
.with_setting("number", 10)
|
||||||
.with_setting("null", Value::Null)
|
.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());
|
.with_setting("object", BTreeMap::new());
|
||||||
|
|
||||||
let json = serde_json::to_value(settings).unwrap();
|
let json = serde_json::to_value(settings).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user