Author: galder.zamarreno(a)jboss.com
Date: 2009-02-04 12:01:56 -0500 (Wed, 04 Feb 2009)
New Revision: 7643
Modified:
core/trunk/src/test/java/org/jboss/cache/marshall/VersionAwareMarshallerTest.java
Log:
Fixed test for version 3.1.x.
Modified:
core/trunk/src/test/java/org/jboss/cache/marshall/VersionAwareMarshallerTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/marshall/VersionAwareMarshallerTest.java 2009-02-04
17:00:45 UTC (rev 7642)
+++
core/trunk/src/test/java/org/jboss/cache/marshall/VersionAwareMarshallerTest.java 2009-02-04
17:01:56 UTC (rev 7643)
@@ -78,7 +78,7 @@
byte[] bytes = marshaller.objectToByteBuffer("Hello");
ObjectInputStream in = new MarshalledValueInputStream(new
ByteArrayInputStream(bytes));
- assertEquals("Version header short should be '30'", 30,
in.readShort());
+ assertEquals("Version header short should be '31'", 31,
in.readShort());
}
public void testVersionHeader210() throws Exception