From cd20c0e843438edd5c025ab59e95deeef6976938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 10 Nov 2025 19:35:05 +0100 Subject: [PATCH] tests: add unit tests on command `/history` --- tests/unit/core/test-core-command.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/core/test-core-command.cpp b/tests/unit/core/test-core-command.cpp index 1d8accd56..90b9f3eb5 100644 --- a/tests/unit/core/test-core-command.cpp +++ b/tests/unit/core/test-core-command.cpp @@ -1039,7 +1039,10 @@ TEST(CoreCommand, Help) TEST(CoreCommand, History) { - /* TODO: write tests */ + WEE_CMD_CORE("/history"); + WEE_CMD_CORE("/history clear"); + WEE_CMD_CORE_ERROR_GENERIC("/history xxx"); + WEE_CMD_CORE_ERROR_GENERIC("/history -1"); } /*