diff --git a/main/client/test/src/mill/main/client/ClientTests.java b/main/client/test/src/mill/main/client/ClientTests.java index 7d810cdbd98..0466db7e2ec 100644 --- a/main/client/test/src/mill/main/client/ClientTests.java +++ b/main/client/test/src/mill/main/client/ClientTests.java @@ -61,7 +61,7 @@ public void checkStringRoundTrip(String example) throws Exception{ Util.writeString(o, example); ByteArrayInputStream i = new ByteArrayInputStream(o.toByteArray()); String s = Util.readString(i); - assertEquals(example, s, "String as bytes: ["+example.getBytes()+"] differs from expected: ["+s.getBytes()+"]"); + assertEquals(example, s); assertEquals(i.available(), 0); }