added improvements from code review

This commit is contained in:
muellerr committed 2021-09-11 19:18:18 +02:00
1 parent ea573b0523
commit 7c7a8a5df7
3 files changed
+65 -35

No files matched your search

@@ -165,7 +165,7 @@ TEST_CASE("DleEncoder" , "[DleEncoder]") {
result = dleEncoder.decode(vecToDecode.data(),
vecToDecode.size(), &readLen,
buffer.data(), faultyDestSizes, &decodedLen);
REQUIRE(result == static_cast<int>(DleEncoder::DECODING_ERROR));
REQUIRE(result == static_cast<int>(DleEncoder::STREAM_TOO_SHORT));
}
};