Skip to content

Commit 4821edc

Browse files
author
mikee47
committed
Fix crashing test on esp8266
Parameters to `memcmp_P` wrong way around
1 parent d9a0a50 commit 4821edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/app/custom.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CustomTest : public TestGroup
4747
REQUIRE(customObject.name() == F("Object Name "));
4848
REQUIRE(customObject.description() == F("Object Description "));
4949
REQUIRE(customObject.content().length() == sizeof(data));
50-
REQUIRE(memcmp_P(customObject.content().data(), data, sizeof(data)) == 0);
50+
REQUIRE(memcmp_P(data, customObject.content().data(), sizeof(data)) == 0);
5151
}
5252
};
5353

0 commit comments

Comments
 (0)