We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211b249 commit 91384beCopy full SHA for 91384be
tests/Parser/ParserTest.php
@@ -27,6 +27,21 @@ public function testCheckCommentsAreIgnored()
27
28
self::assertEmpty($parser->getErrors());
29
}
30
+
31
+ /**
32
+ * Allows us to check if the parser can parse null tokens before closing brackets
33
+ */
34
+ public function testCheckParseOfNullTokensBeforeClosingBracket()
35
+ {
36
+ $query = 'query{
37
+ someField(value:null)
38
+ }';
39
40
+ $parser = new Parser();
41
+ $parser->parse($query);
42
43
+ self::assertEmpty($parser->getErrors());
44
+ }
45
46
/**
47
* Allows us to check if a complex but valid query can be parsed
0 commit comments