Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Oct 11, 2022
1 parent 4513275 commit 8c23aa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/async_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'provider.dart';
/// See also:
///
/// * [StreamProvider] and [FutureProvider], which both uses [ErrorBuilder] to
/// handle respectively [Stream.catchError] and [Future.catch].
/// handle respectively `Stream.catchError` and [Future.catch].
typedef ErrorBuilder<T> = T Function(BuildContext context, Object? error);

DeferredStartListening<Stream<T>?, T> _streamStartListening<T>({
Expand Down
1 change: 1 addition & 0 deletions test/provider_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ void main() {
final context = tester.element(find.byWidget(child));

expect(
// ignore: avoid_redundant_argument_values
() => Provider.of<int>(context, listen: true),
throwsAssertionError,
);
Expand Down

0 comments on commit 8c23aa3

Please sign in to comment.