1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-09-07 21:19:02 +00:00

chore: print error

This commit is contained in:
Arnaud Roques 2024-07-07 22:35:07 +02:00
parent b51cc810b8
commit 2c96caadbb

View File

@ -34,8 +34,8 @@ public class TestImage extends WebappTestCase {
// Get the image and verify its size
byte[] inMemoryImage = getContentAsBytes(conn);
int diagramLen = inMemoryImage.length;
Assertions.assertTrue(diagramLen > 10000);
Assertions.assertTrue(diagramLen < 20000);
Assertions.assertTrue(diagramLen > 10000, "size = " + diagramLen);
Assertions.assertTrue(diagramLen < 30000, "size = " + diagramLen);
}
/**