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 cc76d3d commit 8dc9fa8Copy full SHA for 8dc9fa8
graphql/language/tests/test_printer.py
@@ -68,6 +68,14 @@ def test_correctly_prints_mutation_with_artifacts():
68
'''
69
70
71
+def test_correctly_prints_null():
72
+ query_ast_shorthanded = parse('{ thingy(null: "wow", name: null) }')
73
+ assert print_ast(query_ast_shorthanded) == '''{
74
+ thingy(null: "wow", name: null)
75
+}
76
+'''
77
+
78
79
def test_prints_kitchen_sink():
80
ast = parse(KITCHEN_SINK)
81
printed = print_ast(ast)
0 commit comments