We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3281fe commit d3b3a43Copy full SHA for d3b3a43
tests/host/core/test_string.cpp
@@ -19,6 +19,18 @@
19
#include <limits.h>
20
#include <StreamString.h>
21
22
+TEST_CASE("String::move", "[core][String]")
23
+{
24
+ const char buffer[] = "this string goes over the sso limit";
25
+
26
+ String copy;
27
+ String origin(buffer);
28
29
+ copy = std::move(origin);
30
+ REQUIRE(origin.c_str() != nullptr);
31
+ REQUIRE(copy == buffer);
32
+}
33
34
TEST_CASE("String::trim", "[core][String]")
35
{
36
String str;
0 commit comments