1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-04 18:03:20 +03:00

Fix strstr return type

This commit is contained in:
Ivan Grokhotkov 2016-03-11 09:55:12 +03:00
parent c3b33d5bab
commit 54ae922037

View File

@ -20,8 +20,8 @@
TEST_CASE("strstr_P works as strstr", "[core][pgmspace]")
{
auto t = [](const char* h, const char* n) {
char* strstr_P_result = strstr_P(h, n);
char* strstr_result = strstr(h, n);
const char* strstr_P_result = strstr_P(h, n);
const char* strstr_result = strstr(h, n);
REQUIRE(strstr_P_result == strstr_result);
};