From 93dbcb9e31255c532e076f5770d90dd01da5a2be Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Wed, 5 Mar 2025 18:42:56 +0300 Subject: [PATCH] test(unity): unused function --- code/test/unit/unity/unity_extra.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/code/test/unit/unity/unity_extra.cpp b/code/test/unit/unity/unity_extra.cpp index 148745fa..416685a4 100644 --- a/code/test/unit/unity/unity_extra.cpp +++ b/code/test/unit/unity/unity_extra.cpp @@ -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) {