Add a test for empty field argument list
... within parens.
This commit is contained in:
parent
01b30a71da
commit
1834e5c41e
@ -76,6 +76,9 @@ spec = describe "Parser" $ do
|
|||||||
test(username: """username""", password: """password""")
|
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 ->
|
it "accepts any arguments" $ mapSize (const 10) $ property $ \xs ->
|
||||||
let
|
let
|
||||||
query' :: Text
|
query' :: Text
|
||||||
|
Loading…
Reference in New Issue
Block a user