Skip to content

Commit 6b97991

Browse files
committed
check that only one message is sent
1 parent 351d7e6 commit 6b97991

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/webxdc/webxdc_tests.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2215,5 +2215,6 @@ async fn test_self_addr_consistency() -> Result<()> {
22152215
let sent = alice.send_msg(alice_chat, &mut instance).await;
22162216
let db_msg = Message::load_from_db(alice, sent.sender_msg_id).await?;
22172217
assert_eq!(db_msg.get_webxdc_self_addr(alice).await?, self_addr);
2218+
assert_eq!(alice_chat.get_msg_cnt(&alice).await?, 1);
22182219
Ok(())
22192220
}

0 commit comments

Comments
 (0)