MCPcopy Create free account
hub / github.com/couchbase/fleece / returnsMutableArray

Function returnsMutableArray

Tests/API_ValueTests.cc:188–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187
188static MutableArray returnsMutableArray() {
189 MutableArray ma = MutableArray::newArray();
190 ma.append(17);
191 return ma;
192}
193
194TEST_CASE("API Mutable Invalid Assignment", "[API]") {
195 // This next line should fail to compile:

Callers 1

API_ValueTests.ccFile · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected