15356d576d
This question came up in another change, about whether a client would have hanging requests if the other DTD client providing the service disconnected. This adds a test to ensure that any pending requests are terminated with an error. It also tidies up some other tests to give better errors if they fail. Change-Id: I77e04ee59f757498af090878da542d6ed1d152b0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/374946 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Helin Shiah <helinx@google.com>
14 lines
242 B
YAML
14 lines
242 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
linter:
|
|
rules:
|
|
- avoid_void_async
|
|
- unawaited_futures
|
|
- require_trailing_commas
|
|
- prefer_relative_imports
|
|
|
|
analyzer:
|
|
language:
|
|
strict-inference: true
|
|
strict-raw-types: true
|