From 941a9bab38daf5b99202af876cd3143116aeddc8 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 1 Mar 2023 18:03:01 -0800 Subject: [PATCH] message_flags.test: Call send_read with an array. Signed-off-by: Anders Kaseorg --- web/tests/message_flags.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/tests/message_flags.test.js b/web/tests/message_flags.test.js index 1c77de0904..cc6ea80e74 100644 --- a/web/tests/message_flags.test.js +++ b/web/tests/message_flags.test.js @@ -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;