1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-19 23:23:25 +02:00

Unit tests

- Test `directMessage(string, string)` (so singular) to send to myself
- Adding such a test will test the direct message receive handler which helps us a lot in increasing code coverage
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-09 08:44:09 +02:00
parent 5155912bdd
commit 35ce86478d

View File

@ -1217,6 +1217,11 @@ public class Client : Thread
// }
/**
* Test sending a message to myself (singular)
*/
client.directMessage("Message to myself", "birchwood");
// TODO: Don't forget to re-enable this when done testing!
Thread.sleep(dur!("seconds")(15));
client.quit();