We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5f335 commit 1ee2757Copy full SHA for 1ee2757
test/api/fake_api.dart
@@ -62,6 +62,8 @@ class FakeHttpClient extends http.BaseClient {
62
Duration delay = Duration.zero,
63
bool append = false,
64
}) {
65
+ // TODO: ensure that there is no outstanding prepared responses during
66
+ // tear down.
67
assert(append || _preparedResponses.isEmpty,
68
'FakeApiConnection.prepare was called while already expecting a request');
69
if (exception != null) {
0 commit comments