Skip to content

Commit 73fba90

Browse files
fix: Remove unnecessary import in client_test.dart
BadRequest is already exported from grpc.dart, so the separate import of error_details.pb.dart is unnecessary.
1 parent 9142172 commit 73fba90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/client_tests/client_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ import 'dart:io' show HttpStatus;
1919

2020
import 'package:grpc/grpc.dart';
2121
import 'package:grpc/src/client/http2_connection.dart';
22-
import 'package:grpc/src/generated/google/rpc/error_details.pb.dart'
23-
show BadRequest;
22+
// BadRequest is exported from grpc.dart, no need for separate import
2423
import 'package:grpc/src/generated/google/rpc/status.pb.dart';
2524
import 'package:grpc/src/shared/status.dart';
2625
import 'package:http2/transport.dart';

0 commit comments

Comments
 (0)