You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Test
public void testThrowable() {
final Bytes bytes = Bytes.elasticByteBuffer();
final Wire wire = new TextWire(bytes);
final Exception exc = new Exception();
wire.write(() -> "exc").throwable(exc);
final Throwable actual = wire.read("exc").throwable(false);
assertArrayEquals(exc.getStackTrace(), actual.getStackTrace());
bytes.release();
}
Annoying because we do some automated testing of Marshallables using OpenPojo, and this causes the round-trip equality check to fail
The text was updated successfully, but these errors were encountered:
Annoying because we do some automated testing of Marshallables using OpenPojo, and this causes the round-trip equality check to fail
The text was updated successfully, but these errors were encountered: