18 lines
341 B
Rust
18 lines
341 B
Rust
use circe::{Client, Config};
|
|
|
|
#[test]
|
|
fn connect() -> Result<(), std::io::Error> {
|
|
let config = Config::new(
|
|
vec![""],
|
|
"karx.xyz",
|
|
Some("+B"),
|
|
Some("circe-tests"),
|
|
6697,
|
|
"circe-tests",
|
|
);
|
|
let mut client = Client::new(config).unwrap();
|
|
client.identify().unwrap();
|
|
|
|
Ok(())
|
|
}
|