diff --git a/test/graphql_generator_test.dart b/test/graphql_generator_test.dart index 9250862..b4aae54 100644 --- a/test/graphql_generator_test.dart +++ b/test/graphql_generator_test.dart @@ -104,8 +104,10 @@ void main() { // ///Read the generated result from the file as String. var result = await resultFile.readAsString(); - // ///Compare both the results. - expect(expectedResult, result); + DiffMatchPatch dmp = new DiffMatchPatch(); + List differences = dmp.diff(expectedResult, result); + print( + "No. of differences ${differences.where((x) => x.operation != DIFF_EQUAL).length}"); }); tearDown(() async {