From 85eed64fe98909a13a7ff811cf409cccd3806538 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 23 Oct 2025 07:20:40 +0200 Subject: [PATCH] rollback \n in console tests --- test/test_api/test_api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_api/test_api.cpp b/test/test_api/test_api.cpp index f4ddefd83..acc4563c5 100644 --- a/test/test_api/test_api.cpp +++ b/test/test_api/test_api.cpp @@ -318,7 +318,7 @@ const char * run_console_command(const char * command) { } void console_test1() { - auto expected_response = "Log level: DEBUG\n"; + auto expected_response = "Log level: DEBUG"; TEST_ASSERT_EQUAL_STRING(expected_response, run_console_command("log")); } @@ -329,7 +329,7 @@ void console_test2() { void console_test3() { // test bad command - auto expected_response = "Bad syntax. Check arguments.\n"; + auto expected_response = "Bad syntax. Check arguments."; TEST_ASSERT_EQUAL_STRING(expected_response, run_console_command("call thermostat mode bad")); }