forked from OSS/graphql
		
	Add a test for empty field argument list
... within parens.
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user