test(unity): unused function

This commit is contained in:
Maxim Prokhorov
2025-03-05 18:42:56 +03:00
parent 39f2fa14cc
commit 93dbcb9e31

View File

@@ -38,16 +38,6 @@ String expected_actual(espurna::StringView expected, espurna::StringView actual)
return out;
}
void test_assert_equal_string_view(espurna::StringView expected, espurna::StringView actual, unsigned int line, const char* msg) {
UNITY_TEST_ASSERT_EQUAL_INT(expected.length(), actual.length(), line, msg);
if (msg != nullptr) {
UNITY_TEST_ASSERT_EQUAL_CHAR_ARRAY(
expected.data(), actual.data(), actual.length(), line, msg);
} else {
String out;
}
}
} // namespace
void test_assert_equal_string_view(espurna::StringView expected, espurna::StringView actual, unsigned int line, const char* msg) {