From b61dca7d2d648300a3980af41191b4f9c06a131b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 9 Nov 2025 14:31:50 +0100 Subject: [PATCH] tests: add unit tests on command `/allbuf` --- tests/unit/core/test-core-command.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/unit/core/test-core-command.cpp b/tests/unit/core/test-core-command.cpp index 592737a65..99eb20dbc 100644 --- a/tests/unit/core/test-core-command.cpp +++ b/tests/unit/core/test-core-command.cpp @@ -146,6 +146,19 @@ TEST_GROUP(CoreCommand) } }; +/* + * Tests functions: + * command_allbuf + */ + +TEST(CoreCommand, Allbuf) +{ + WEE_CMD_CORE_MIN_ARGS("/allbuf", "/allbuf"); + + WEE_CMD_CORE("/allbuf /print test allbuf"); + WEE_CHECK_MSG_CORE("", "test allbuf"); +} + /* * Tests functions: * command_away