We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b33d5 commit 54ae922Copy full SHA for 54ae922
tests/host/core/test_pgmspace.cpp
@@ -20,8 +20,8 @@
20
TEST_CASE("strstr_P works as strstr", "[core][pgmspace]")
21
{
22
auto t = [](const char* h, const char* n) {
23
- char* strstr_P_result = strstr_P(h, n);
24
- char* strstr_result = strstr(h, n);
+ const char* strstr_P_result = strstr_P(h, n);
+ const char* strstr_result = strstr(h, n);
25
REQUIRE(strstr_P_result == strstr_result);
26
};
27
0 commit comments