Adjust one of the Page Label unit-tests to use a PDF file where the "St" entry is both present and non-default (i.e. greater than one)

I just realized that none of our current unit-tests cover this particular part of the Page Label parsing code, hence this patch adjusts an existing test PDF to include a "St" entry in the Page Label dictionary.
This commit is contained in:
Jonas Jenwald 2016-12-04 13:03:22 +01:00
parent 46d2c892de
commit e386af7b22
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -515,7 +515,7 @@ describe('api', function() {
expect(pageLabels[0]).toEqual(['i', 'ii', 'iii', '1']); expect(pageLabels[0]).toEqual(['i', 'ii', 'iii', '1']);
expect(pageLabels[1]).toEqual(['Front Page1']); expect(pageLabels[1]).toEqual(['Front Page1']);
expect(pageLabels[2]).toEqual(['1', '2']); expect(pageLabels[2]).toEqual(['1', '2']);
expect(pageLabels[3]).toEqual(['X1']); expect(pageLabels[3]).toEqual(['X3']);
loadingTask0.destroy(); loadingTask0.destroy();
loadingTask1.destroy(); loadingTask1.destroy();