Commit Diff


commit - 73229249d893f05f4b2d98c41a5a4839100c0c9e
commit + b1a5ade88f304d7e7c5a2c41511061141842dadd
blob - 2aed6944f2ebd60dcfa1bc9ecdcb1535113603b6
blob + 3c393e8db4e14dddce4ce8dc23ff4da784864874
--- src/testsuite/whois-test.e
+++ src/testsuite/whois-test.e
@@ -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 }