Skip to content

Commit

Permalink
Fixed overrides after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tlueder committed Aug 27, 2024
1 parent 2272c00 commit 30b47e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pkgs/http/lib/src/browser_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ class BrowserClient extends BaseClient {
/// Sends an HTTP request and asynchronously returns the response.
@override
Future<StreamedResponse> send(
BaseRequest request,
BaseRequest request, {
Progress? onSendProgress,
) async {
}) async {
if (_isClosed) {
throw ClientException(
'HTTP request failed. Client is already closed.', request.url);
Expand Down
8 changes: 4 additions & 4 deletions pkgs/http/test/io/client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ import '../utils.dart';
class TestClient extends http.BaseClient {
@override
Future<http.StreamedResponse> send(
http.BaseRequest request,
http.BaseRequest request, {
http.Progress? onSendProgress,
) {
}) {
throw UnimplementedError();
}
}

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

0 comments on commit 30b47e6

Please sign in to comment.