| Index: fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| diff --git a/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp b/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| index 65e9348f55655e7f7631e99155dbe147e91f531b..2ca40602171d665f9802426f6f316e8fe95c5129 100644
|
| --- a/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| +++ b/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| @@ -11,12 +11,12 @@ class FPDFDataAvailEmbeddertest : public EmbedderTest {};
|
|
|
| TEST_F(FPDFDataAvailEmbeddertest, TrailerUnterminated) {
|
| // Document must open without crashing but is too malformed to be available.
|
| - EXPECT_TRUE(OpenDocument("testing/resources/trailer_unterminated.pdf"));
|
| + EXPECT_FALSE(OpenDocument("testing/resources/trailer_unterminated.pdf"));
|
| EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints_));
|
| }
|
|
|
| TEST_F(FPDFDataAvailEmbeddertest, TrailerAsHexstring) {
|
| // Document must open without crashing but is too malformed to be available.
|
| - EXPECT_TRUE(OpenDocument("testing/resources/trailer_as_hexstring.pdf"));
|
| + EXPECT_FALSE(OpenDocument("testing/resources/trailer_as_hexstring.pdf"));
|
| EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints_));
|
| }
|
|
|