mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-18 23:03:34 +03:00
Fix strstr return type
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user