Skip to content

Commit 1ee2757

Browse files
committed
prepare wip
Signed-off-by: Zixuan James Li <zixuan@zulip.com>
1 parent ec5f335 commit 1ee2757

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/api/fake_api.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ class FakeHttpClient extends http.BaseClient {
6262
Duration delay = Duration.zero,
6363
bool append = false,
6464
}) {
65+
// TODO: ensure that there is no outstanding prepared responses during
66+
// tear down.
6567
assert(append || _preparedResponses.isEmpty,
6668
'FakeApiConnection.prepare was called while already expecting a request');
6769
if (exception != null) {

0 commit comments

Comments
 (0)