Fixed small typo

This commit is contained in:
Andrei Medar 2020-09-29 22:58:35 +00:00
parent 95ef6fc683
commit 525acea7c4
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ void EncodeDecodeOneStep(SapiLodepngSandbox& sandbox, LodepngApi& api) {
// Encode the image.
sapi::v::Array<uint8_t> sapi_image(kImgLen);
CHECK(std::copy(image.begin(), image.end(), sapi_image.GetData()))
<< "could not copy values";
<< "Could not copy values";
sapi::v::ConstCStr sapi_filename("/output/out_generated1.png");
@ -82,7 +82,7 @@ void EncodeDecodeTwoSteps(SapiLodepngSandbox& sandbox, LodepngApi& api) {
// Encode the image into memory first.
sapi::v::Array<uint8_t> sapi_image(kImgLen);
CHECK(std::copy(image.begin(), image.end(), sapi_image.GetData()))
<< "could not copy values";
<< "Could not copy values";
sapi::v::ConstCStr sapi_filename("/output/out_generated2.png");

View File

@ -70,7 +70,7 @@ TEST(LodePngTest, EncodeDecodeOneStep) {
sapi::v::Array<uint8_t> sapi_image(kImgLen);
EXPECT_THAT(std::copy(image.begin(), image.end(), sapi_image.GetData()),
IsTrue())
<< "could not copy values";
<< "Could not copy values";
sapi::v::ConstCStr sapi_filename("/output/out_generated1.png");
@ -131,7 +131,7 @@ TEST(LodePngTest, EncodeDecodeTwoSteps) {
sapi::v::Array<uint8_t> sapi_image(kImgLen);
EXPECT_THAT(std::copy(image.begin(), image.end(), sapi_image.GetData()),
IsTrue())
<< "could not copy values";
<< "Could not copy values";
sapi::v::ConstCStr sapi_filename("/output/out_generated2.png");