mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fixed small typo
This commit is contained in:
parent
95ef6fc683
commit
525acea7c4
|
@ -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");
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user