Test suite: add more checks to whois-test.e
This commit is contained in:
parent
73229249d8
commit
b1a5ade88f
|
@ -19,6 +19,10 @@ expect {
|
|||
timeout { exit 1 }
|
||||
"311 nick nick ~user localhost* \* :Real Name\r"
|
||||
}
|
||||
expect {
|
||||
timeout { exit 1 }
|
||||
"318 nick nick :"
|
||||
}
|
||||
|
||||
send "whois *\r"
|
||||
expect {
|
||||
|
@ -44,6 +48,16 @@ expect {
|
|||
"311 nick nick ~user localhost* \* :Real Name\r"
|
||||
}
|
||||
|
||||
send "whois unknown\r"
|
||||
expect {
|
||||
timeout { exit 1 }
|
||||
"401 nick unknown :"
|
||||
}
|
||||
expect {
|
||||
timeout { exit 1 }
|
||||
"318 nick unknown :"
|
||||
}
|
||||
|
||||
send "quit\r"
|
||||
expect {
|
||||
timeout { exit 1 }
|
||||
|
|
Loading…
Reference in New Issue