only in patch2: unchanged: --- a/core/modules/file/src/Tests/ValidatorTest.php +++ b/core/modules/file/src/Tests/ValidatorTest.php @@ -73,6 +73,10 @@ function testFileValidateImageResolution() { $errors = file_validate_image_resolution($this->non_image, '50x50', '100x100'); $this->assertEqual(count($errors), 0, 'Do not check the resolution on non files.', 'File'); + // Exact size. + $errors = file_validate_image_resolution($this->image, '88x100', '88x100'); + $this->assertEqual(count($errors), 0, 'No errors for an image when there is exact resolution.', 'File'); + // Minimum size. $errors = file_validate_image_resolution($this->image); $this->assertEqual(count($errors), 0, 'No errors for an image when there is no minimum or maximum resolution.', 'File');