1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Merge pull request #6046 from AppShuttle/pdf-version-fix

Extract correct PDF format version from the catalog
This commit is contained in:
Yury Delendik 2015-05-27 08:50:20 -05:00
commit d105734686
3 changed files with 9 additions and 2 deletions

Binary file not shown.

View file

@ -156,6 +156,7 @@ describe('api', function() {
var promise = doc.getMetadata();
waitsForPromiseResolved(promise, function(metadata) {
expect(metadata.info['Title']).toEqual('Basic API Test');
expect(metadata.info['PDFFormatVersion']).toEqual('1.7');
expect(metadata.metadata.get('dc:title')).toEqual('Basic API Test');
});
});