summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-15 15:28:58 -0700
committerLei Zhang <thestig@chromium.org>2015-09-15 15:28:58 -0700
commit4ffd89ed556e32a6527d0e88952fe20ec1e2f362 (patch)
tree53371ee63cd63f0b0f3763f60a1b6ce6a8998673 /fpdfsdk
parenta9d4bc541179ec0436adc4b2e18b7fdecc5952dc (diff)
downloadpdfium-4ffd89ed556e32a6527d0e88952fe20ec1e2f362.tar.xz
Fix typo from commit a9d4bc5. (Autocomplete fail)
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1345883003 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/src/fpdfdoc_embeddertest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/fpdfdoc_embeddertest.cpp b/fpdfsdk/src/fpdfdoc_embeddertest.cpp
index 553e9009f8..8b1c4fb3e8 100644
--- a/fpdfsdk/src/fpdfdoc_embeddertest.cpp
+++ b/fpdfsdk/src/fpdfdoc_embeddertest.cpp
@@ -50,7 +50,7 @@ TEST_F(FPDFDocEmbeddertest, ActionGetFilePath) {
ASSERT_TRUE(action);
const char kExpectedResult[] = "test.pdf";
- const unsigned long kExpectedLength = sizeof(kExpectedLength);
+ const unsigned long kExpectedLength = sizeof(kExpectedResult);
unsigned long bufsize = FPDFAction_GetFilePath(action, nullptr, 0);
ASSERT_EQ(kExpectedLength, bufsize);