diff --git a/graphql_parser/test/value_test.dart b/graphql_parser/test/value_test.dart index 61e90f48..0d0a42f0 100644 --- a/graphql_parser/test/value_test.dart +++ b/graphql_parser/test/value_test.dart @@ -72,7 +72,7 @@ main() { }); } -ValueContext parseValue(String text) => parse(text).parseValue(); +InputValueContext parseValue(String text) => parse(text).parseInputValue(); Matcher isValue(value) => new _IsValue(value); @@ -87,7 +87,7 @@ class _IsValue extends Matcher { @override bool matches(item, Map matchState) { - var v = item is ValueContext ? item : parseValue(item.toString()); - return equals(value).matches(v.value, matchState); + var v = item is InputValueContext ? item : parseValue(item.toString()); + return equals(value).matches(v.computeValue({}), matchState); } }