message_flags.test: Call send_read with an array.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-03-01 18:03:01 -08:00 committed by Tim Abbott
parent 9d514a29d1
commit 941a9bab38
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ run_test("read_empty_data", ({override}) => {
}
// send read to obtain success callback
send_read({locally_echoed: false, id: 1});
send_read([{locally_echoed: false, id: 1}]);
// verify early return on empty data
const success_callback = channel_post_opts.success;