diff --git a/test/unexpectedExif.js b/test/unexpectedExif.js index 0e3a6bb..7dc44fe 100644 --- a/test/unexpectedExif.js +++ b/test/unexpectedExif.js @@ -25,54 +25,54 @@ describe('unexpected-exif', function () { } }); }, 'to throw', - "expected " + testImagePath + " (image/jpeg)\n" + + 'expected ' + testImagePath + ' (image/jpeg)\n' + "to have EXIF data satisfying { tags: { Make: 'Apple', ShutterSpeedValue: expect.it('to be within', 8, 9) } }\n" + - "\n" + - "{\n" + - " tags: {\n" + + '\n' + + '{\n' + + ' tags: {\n' + " Make: 'Apple',\n" + " Model: 'iPhone 6',\n" + - " Orientation: 6,\n" + - " XResolution: 72,\n" + - " YResolution: 72,\n" + - " ResolutionUnit: 2,\n" + + ' Orientation: 6,\n' + + ' XResolution: 72,\n' + + ' YResolution: 72,\n' + + ' ResolutionUnit: 2,\n' + " Software: '8.1.1',\n" + " ModifyDate: '2014:12:01 11:01:21',\n" + - " YCbCrPositioning: 1,\n" + - " ExposureTime: 0.025,\n" + - " FNumber: 2.2,\n" + - " ExposureProgram: 2,\n" + - " ISO: 32,\n" + - " DateTimeOriginal: 1417431681,\n" + - " CreateDate: 1417431681,\n" + - " ShutterSpeedValue: 5.322274881516588, // should be within 8..9\n" + - " ApertureValue: 2.2750071245369052,\n" + - " BrightnessValue: 4.812554489973845,\n" + - " ExposureCompensation: 0,\n" + - " MeteringMode: 5,\n" + - " Flash: 16,\n" + - " FocalLength: 4.15,\n" + - " SubjectArea: [ 1631, 1223, 1795, 1077 ],\n" + + ' YCbCrPositioning: 1,\n' + + ' ExposureTime: 0.025,\n' + + ' FNumber: 2.2,\n' + + ' ExposureProgram: 2,\n' + + ' ISO: 32,\n' + + ' DateTimeOriginal: 1417431681,\n' + + ' CreateDate: 1417431681,\n' + + ' ShutterSpeedValue: 5.322274881516588, // should be within 8..9\n' + + ' ApertureValue: 2.2750071245369052,\n' + + ' BrightnessValue: 4.812554489973845,\n' + + ' ExposureCompensation: 0,\n' + + ' MeteringMode: 5,\n' + + ' Flash: 16,\n' + + ' FocalLength: 4.15,\n' + + ' SubjectArea: [ 1631, 1223, 1795, 1077 ],\n' + " SubSecTimeOriginal: '222',\n" + " SubSecTimeDigitized: '222',\n" + - " ColorSpace: 1,\n" + - " ExifImageWidth: 3264,\n" + - " ExifImageHeight: 2448,\n" + - " SensingMethod: 2,\n" + - " ExposureMode: 0,\n" + - " WhiteBalance: 0,\n" + - " FocalLengthIn35mmFormat: 29,\n" + - " SceneCaptureType: 0,\n" + - " LensInfo: [ 4.15, 4.15, 2.2, 2.2 ],\n" + + ' ColorSpace: 1,\n' + + ' ExifImageWidth: 3264,\n' + + ' ExifImageHeight: 2448,\n' + + ' SensingMethod: 2,\n' + + ' ExposureMode: 0,\n' + + ' WhiteBalance: 0,\n' + + ' FocalLengthIn35mmFormat: 29,\n' + + ' SceneCaptureType: 0,\n' + + ' LensInfo: [ 4.15, 4.15, 2.2, 2.2 ],\n' + " LensMake: 'Apple',\n" + " LensModel: 'iPhone 6 back camera 4.15mm f/2.2'\n" + - " },\n" + - " imageSize: { height: 2448, width: 3264 },\n" + - " thumbnailOffset: 1678,\n" + - " thumbnailLength: 4476,\n" + - " thumbnailType: 6,\n" + - " app1Offset: 6\n" + - "}" + ' },\n' + + ' imageSize: { height: 2448, width: 3264 },\n' + + ' thumbnailOffset: 1678,\n' + + ' thumbnailLength: 4476,\n' + + ' thumbnailType: 6,\n' + + ' app1Offset: 6\n' + + '}' ); }); });