Add a test for empty field argument list

... within parens.
This commit is contained in:
Eugen Wissner 2024-09-17 18:24:41 +02:00
parent 01b30a71da
commit 1834e5c41e

View File

@ -76,6 +76,9 @@ spec = describe "Parser" $ do
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