From ded75038aa63e696e225dbfb3a169fc6ea15b9b8 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 2 Aug 2018 15:37:38 -0400 Subject: [PATCH] Update tests to support single anonymous selection --- graphql_parser/test/document_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql_parser/test/document_test.dart b/graphql_parser/test/document_test.dart index 3986808f..2b882232 100644 --- a/graphql_parser/test/document_test.dart +++ b/graphql_parser/test/document_test.dart @@ -48,7 +48,7 @@ main() { test('with selection set', () { var op = parse('{foo, bar: baz}').parseOperationDefinition(); expect(op.variableDefinitions, isNull); - expect(op.isQuery, isFalse); + expect(op.isQuery, isTrue); expect(op.isMutation, isFalse); expect(op.name, isNull); expect(