diff options
author | cel 🌸 <cel@blos.sm> | 2023-08-02 00:56:38 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-08-02 00:56:38 +0100 |
commit | cd7bb95c0a31d187bfe25bad15043f0b33b111cf (patch) | |
tree | c5be0c651198abf736f8867a36906f9345f3a0ac /src/lib.rs | |
parent | 322b2a3b46348ec1c5acbc538de93310c9030b96 (diff) | |
download | luz-cd7bb95c0a31d187bfe25bad15043f0b33b111cf.tar.gz luz-cd7bb95c0a31d187bfe25bad15043f0b33b111cf.tar.bz2 luz-cd7bb95c0a31d187bfe25bad15043f0b33b111cf.zip |
implement resource binding
Diffstat (limited to '')
-rw-r--r-- | src/lib.rs | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,4 +1,5 @@ #![allow(unused_must_use)] +#![feature(let_chains)] // TODO: logging (dropped errors) pub mod client; @@ -44,10 +45,13 @@ mod tests { #[tokio::test] async fn login() { - Jabber::new(JID::from_str("test@blos.sm").unwrap(), "slayed".to_owned()) - .unwrap() - .login() - .await - .unwrap(); + Jabber::new( + JID::from_str("test@blos.sm/clown").unwrap(), + "slayed".to_owned(), + ) + .unwrap() + .login() + .await + .unwrap(); } } |