Fix typo from commit a9d4bc5. (Autocomplete fail)
authorLei Zhang <thestig@chromium.org>
Tue, 15 Sep 2015 22:28:58 +0000 (15:28 -0700)
committerLei Zhang <thestig@chromium.org>
Tue, 15 Sep 2015 22:28:58 +0000 (15:28 -0700)
TBR=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1345883003 .

fpdfsdk/src/fpdfdoc_embeddertest.cpp

index 553e900..8b1c4fb 100644 (file)
@@ -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);