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 d539d23 commit 7a696beCopy full SHA for 7a696be
tests/host/core/test_string.cpp
@@ -600,7 +600,8 @@ TEST_CASE("String chaining", "[core][String]")
600
String tmp(chunks[3]);
601
tmp.reserve(2 * all.length());
602
auto* ptr = tmp.c_str();
603
- String result("~1" + String(&chunks[0][0] + 2) + FPSTR(chunks[1]) + chunks[2] + std::move(tmp));
+ String result("~1" + String(&chunks[0][0] + 2) + FPSTR(chunks[1]) + chunks[2]
604
+ + std::move(tmp));
605
REQUIRE(result == all);
606
REQUIRE(static_cast<const void*>(result.c_str()) == static_cast<const void*>(ptr));
607
}
0 commit comments