summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdfedit_embeddertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/fpdfedit_embeddertest.cpp')
-rw-r--r--fpdfsdk/src/fpdfedit_embeddertest.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/fpdfsdk/src/fpdfedit_embeddertest.cpp b/fpdfsdk/src/fpdfedit_embeddertest.cpp
index 1cd28cff45..480ef51dbd 100644
--- a/fpdfsdk/src/fpdfedit_embeddertest.cpp
+++ b/fpdfsdk/src/fpdfedit_embeddertest.cpp
@@ -22,20 +22,21 @@ TEST_F(FPDFEditEmbeddertest, EmptyCreation) {
"%PDF-1.7\r\n"
"%\xA1\xB3\xC5\xD7\r\n"
"1 0 obj\r\n"
- "<</Type/Catalog/Pages 2 0 R >>\r\n"
+ "<</Pages 2 0 R /Type/Catalog>>\r\n"
"endobj\r\n"
"2 0 obj\r\n"
- "<</Type/Pages/Count 1/Kids\\[ 4 0 R \\]>>\r\n"
+ "<</Count 1/Kids\\[ 4 0 R \\]/Type/Pages>>\r\n"
"endobj\r\n"
"3 0 obj\r\n"
"<</CreationDate\\(D:.*\\)/Creator\\(PDFium\\)>>\r\n"
"endobj\r\n"
"4 0 obj\r\n"
- "<</Type/Page/Parent 2 0 R /MediaBox\\[ 0 0 640 "
- "480\\]/Rotate 0/Resources<<>>/Contents 5 0 R >>\r\n"
+ "<</Contents 5 0 R /MediaBox\\[ 0 0 640 480\\]"
+ "/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page"
+ ">>\r\n"
"endobj\r\n"
"5 0 obj\r\n"
- "<</Length 8/Filter/FlateDecode>>stream\r\n"
+ "<</Filter/FlateDecode/Length 8>>stream\r\n"
"x\x9C\x3\0\0\0\0\x1\r\n"
"endstream\r\n"
"endobj\r\n"