Add a test for empty field argument list
... within parens.
This commit is contained in:
parent
01b30a71da
commit
1834e5c41e
@ -75,7 +75,10 @@ spec = describe "Parser" $ do
|
||||
mutation auth{
|
||||
test(username: """username""", password: """password""")
|
||||
}|]
|
||||
|
||||
|
||||
it "fails to parse an empty argument list in parens" $
|
||||
parse document "" `shouldFailOn` "{ test() }"
|
||||
|
||||
it "accepts any arguments" $ mapSize (const 10) $ property $ \xs ->
|
||||
let
|
||||
query' :: Text
|
||||
|
Loading…
Reference in New Issue
Block a user