mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-25 10:23:14 +00:00
core: add to tests
This commit is contained in:
1 parent
bb4293eb5e
commit
e086719f27
1 file changed
+10
@@ -4378,6 +4378,16 @@ testGroupHistoryPreferenceOff =
|
||||
r' <- chat <$> getTermLine dan
|
||||
r' `shouldNotContain` [(0, "hello")]
|
||||
r' `shouldNotContain` [(0, "hey!")]
|
||||
|
||||
-- message delivery works
|
||||
alice #> "#team 1"
|
||||
[bob, cath, dan] *<# "#team alice> 1"
|
||||
bob #> "#team 2"
|
||||
[alice, cath, dan] *<# "#team bob> 2"
|
||||
cath #> "#team 3"
|
||||
[alice, bob, dan] *<# "#team cath> 3"
|
||||
dan #> "#team 4"
|
||||
[alice, bob, cath] *<# "#team dan> 4"
|
||||
where
|
||||
aliceAddedDan :: HasCallStack => TestCC -> IO ()
|
||||
aliceAddedDan cc = do
|
||||
|
||||
Reference in new issue
Block a user