Files
sdk/pkg/dtd_impl/analysis_options.yaml
T
Danny Tuppeny 15356d576d [dtd] Add a test a disconnecting DTD client results in error responses for any in-progress requests to them
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>
2024-07-16 18:45:53 +00:00

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