mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-08 11:01:47 +01:00
fix test
This commit is contained in:
parent
c5dfcebaad
commit
03366b7c5b
@ -229,6 +229,10 @@ mod tests {
|
||||
let root = query().select("a").arg("arg", input).unwrap();
|
||||
let query = root.build().unwrap();
|
||||
|
||||
assert_eq!(query, r#"query{a(arg:"some-string")}"#.to_string())
|
||||
assert_eq!(
|
||||
query,
|
||||
r#"query{a(arg:{"name":"some-name","s":{"name":"some-other-name","s":null}})}"#
|
||||
.to_string()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user