mirror of https://github.com/grpc/grpc-dart.git
Deps & Triple Check Tests
This commit is contained in:
parent
c5339134b3
commit
d43fabefdc
24
pubspec.yaml
24
pubspec.yaml
|
@ -8,26 +8,26 @@ environment:
|
|||
sdk: ^3.5.0
|
||||
|
||||
dependencies:
|
||||
async: ^2.5.0
|
||||
crypto: ^3.0.0
|
||||
fixnum: ^1.0.0
|
||||
googleapis_auth: ^1.1.0
|
||||
async: ^2.11.0
|
||||
crypto: ^3.0.3
|
||||
fixnum: ^1.1.0
|
||||
googleapis_auth: ^1.6.0
|
||||
meta: ^1.3.0
|
||||
http: '>=0.13.0 <2.0.0'
|
||||
http2: ^2.2.0
|
||||
http2: ^2.3.0
|
||||
protobuf: '>=2.0.0 <4.0.0'
|
||||
clock: ^1.1.1
|
||||
web: ^1.1.0
|
||||
|
||||
dev_dependencies:
|
||||
build_runner: ^2.0.0
|
||||
build_test: ^2.0.0
|
||||
build_runner: ^2.4.9
|
||||
build_test: ^2.2.2
|
||||
lints: ^5.0.0
|
||||
mockito: ^5.0.0
|
||||
path: ^1.8.0
|
||||
test: ^1.16.0
|
||||
stream_channel: ^2.1.0
|
||||
stream_transform: ^2.0.0
|
||||
mockito: ^5.4.4
|
||||
path: ^1.9.0
|
||||
test: ^1.25.3
|
||||
stream_channel: ^2.1.2
|
||||
stream_transform: ^2.1.0
|
||||
vm_service: ">=11.6.0 <16.0.0"
|
||||
fake_async: ^1.3.1
|
||||
|
||||
|
|
|
@ -325,7 +325,7 @@ void main() {
|
|||
});
|
||||
|
||||
group('returns error if interceptor blocks request', () {
|
||||
GrpcError? interceptor(call, method) {
|
||||
GrpcError? interceptor(ServiceCall call, ServiceMethod method) {
|
||||
if (method.name == 'Unary') {
|
||||
return GrpcError.unauthenticated('Request is unauthenticated');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue