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 2273e64 commit 0a42f95Copy full SHA for 0a42f95
2 files changed
extras/tests/JsonDocument/assignment.cpp
@@ -69,6 +69,8 @@ TEST_CASE("JsonDocument assignment") {
69
doc2 = std::move(doc1);
70
71
REQUIRE(doc2.as<std::string>() == "{\"hello\":\"world\"}");
72
+
73
+ // NOLINTNEXTLINE(clang-analyzer-cplusplus.Move)
74
REQUIRE(doc1.as<std::string>() == "null");
75
}
76
REQUIRE(spyingAllocator.log() == AllocatorLog{
extras/tests/JsonDocument/constructor.cpp
@@ -44,6 +44,8 @@ TEST_CASE("JsonDocument constructor") {
44
JsonDocument doc2(std::move(doc1));
45
46
REQUIRE(doc2.as<std::string>() == "The size of this string is 32!!");
47
48
49
50
51
0 commit comments