rollback \n in console tests

This commit is contained in:
proddy
2025-10-23 07:20:40 +02:00
parent 43634a4312
commit 85eed64fe9

View File

@@ -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"));
}