Simplified existing test.
This commit is contained in:
parent
a820310b9c
commit
d6d332b6aa
1 changed files with 1 additions and 5 deletions
|
@ -259,12 +259,8 @@ mod test {
|
||||||
#[test]
|
#[test]
|
||||||
fn identify_with_password() {
|
fn identify_with_password() {
|
||||||
let server = IrcServer::from_connection(Config {
|
let server = IrcServer::from_connection(Config {
|
||||||
owners: Some(vec![format!("test")]),
|
|
||||||
nickname: Some(format!("test")),
|
nickname: Some(format!("test")),
|
||||||
alt_nicks: Some(vec![format!("test2")]),
|
|
||||||
server: Some(format!("irc.test.net")),
|
|
||||||
password: Some(format!("password")),
|
password: Some(format!("password")),
|
||||||
channels: Some(vec![format!("#test"), format!("#test2")]),
|
|
||||||
.. Default::default()
|
.. Default::default()
|
||||||
}, Connection::new(NullReader, MemWriter::new()));
|
}, Connection::new(NullReader, MemWriter::new()));
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue