mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 12:35:29 -04:00
Fix assertRGBEquals() failure message
This commit is contained in:
parent
31117c7cea
commit
5590072cc7
@ -1818,7 +1818,7 @@ public abstract class ImageReaderAbstractTest<T extends ImageReader> {
|
|||||||
assertEquals((expectedRGB ) & 0xff, (actualRGB ) & 0xff, tolerance);
|
assertEquals((expectedRGB ) & 0xff, (actualRGB ) & 0xff, tolerance);
|
||||||
}
|
}
|
||||||
catch (AssertionError e) {
|
catch (AssertionError e) {
|
||||||
assertEquals(message, String.format("#%08x", expectedRGB), String.format("#%08x", actualRGB));
|
assertEquals(String.format("#%08x", expectedRGB), String.format("#%08x", actualRGB), message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user