summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/trigger/test-trigger-config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/plugins/trigger/test-trigger-config.cpp')
-rw-r--r--tests/unit/plugins/trigger/test-trigger-config.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/plugins/trigger/test-trigger-config.cpp b/tests/unit/plugins/trigger/test-trigger-config.cpp
index 56300c488..b664e3933 100644
--- a/tests/unit/plugins/trigger/test-trigger-config.cpp
+++ b/tests/unit/plugins/trigger/test-trigger-config.cpp
@@ -170,6 +170,12 @@ TEST(TriggerConfig, DefaultTriggerCmdPass)
WEE_CHECK_MODIFIER_INPUT("/msg nickserv recover alice ******",
"/msg nickserv recover alice secret");
+ /* /msg nickserv setpass <nick> <key> <password> */
+ WEE_CHECK_MODIFIER_INPUT("/msg nickserv setpass alice",
+ "/msg nickserv setpass alice");
+ WEE_CHECK_MODIFIER_INPUT("/msg nickserv setpass alice **********",
+ "/msg nickserv setpass alice key secret");
+
/* /oper <nick> <password> */
WEE_CHECK_MODIFIER_INPUT("/oper alice",
"/oper alice");