summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdftext_embeddertest.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdfsdk/fpdftext_embeddertest.cpp b/fpdfsdk/fpdftext_embeddertest.cpp
index c056908148..0cf10f5106 100644
--- a/fpdfsdk/fpdftext_embeddertest.cpp
+++ b/fpdfsdk/fpdftext_embeddertest.cpp
@@ -725,14 +725,11 @@ TEST_F(FPDFTextEmbeddertest, CountRects) {
EXPECT_EQ(2, FPDFText_CountRects(textpage, start, 500));
}
-#if 0
- // TODO(thestig): This crashes. Fix and enable.
// Now test negative counts.
for (int start = 0; start < kHelloWorldEnd; ++start) {
EXPECT_EQ(2, FPDFText_CountRects(textpage, start, -100));
EXPECT_EQ(2, FPDFText_CountRects(textpage, start, -2));
}
-#endif
// Now test larger start values.
const int kExpectedLength = strlen(kExpected);