Skip to content

Commit

Permalink
Fixed test override
Browse files Browse the repository at this point in the history
  • Loading branch information
tlueder committed Nov 7, 2022
1 parent 7f06806 commit 09dde63
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions pkgs/http/test/io/client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ import '../utils.dart';

class TestClient extends http.BaseClient {
@override
Future<http.StreamedResponse> send(http.BaseRequest request) {
Future<http.StreamedResponse> send(
http.BaseRequest request,
http.Progress? onSendProgress,
) {
throw UnimplementedError();
}
}

class TestClient2 extends http.BaseClient {
@override
Future<http.StreamedResponse> send(http.BaseRequest request) {
Future<http.StreamedResponse> send(
http.BaseRequest request,
http.Progress? onSendProgress,
) {
throw UnimplementedError();
}
}
Expand Down
5 changes: 4 additions & 1 deletion pkgs/http/test/io/http_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import '../utils.dart';

class TestClient extends http.BaseClient {
@override
Future<http.StreamedResponse> send(http.BaseRequest request) {
Future<http.StreamedResponse> send(
http.BaseRequest request,
http.Progress? onSendProgress,
) {
throw UnimplementedError();
}
}
Expand Down

0 comments on commit 09dde63

Please sign in to comment.