Skip to content

Commit

Permalink
Fix deprecated warning in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Aug 14, 2023
1 parent 8158285 commit 180d22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/regression_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void main() {
});
test('where', () {
final parser = inner.where((value) => value[0] == value[1],
failureFactory: (context, success) =>
factory: (context, success) =>
context.failure('values do not match'));
expect(parser, isParseSuccess('11', result: ['1', '1']));
expect(parser, isParseSuccess('22', result: ['2', '2']));
Expand Down

0 comments on commit 180d22f

Please sign in to comment.