platform/test/common.dart
2017-07-03 11:53:19 -04:00

7 lines
258 B
Dart

import 'package:graphql_parser/graphql_parser.dart';
import 'package:matcher/matcher.dart';
import 'package:test/test.dart';
Parser parse(String text) => new Parser(scan(text));
final Matcher throwsSyntaxError = throwsA(const isInstanceOf<SyntaxError>());