Use hexadecimal for string compare failure
Update `ImageBannerTests` to use `inHexacecimal()` to help with failure logs. See gh-18301
This commit is contained in:
parent
2de7b3af4a
commit
b3141d8887
|
@ -184,7 +184,7 @@ class ImageBannerTests {
|
|||
AnsiOutput.setEnabled(AnsiOutput.Enabled.NEVER);
|
||||
String banner = printBanner("gradient.gif", "spring.banner.image.width=6", "spring.banner.image.margin=0",
|
||||
"spring.banner.image.pixelmode=block");
|
||||
assertThat(banner).contains("\u2588\u2593\u2592\u2591 ");
|
||||
assertThat(banner).inHexadecimal().contains("\u2588\u2593\u2592\u2591 ");
|
||||
}
|
||||
|
||||
private int getBannerHeight(String banner) {
|
||||
|
|
Loading…
Reference in New Issue