Fixed mistake in test case. Constant value was 4 bytes too large (should be max *data* size not max *record* size).

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Josh Micich 2008-11-05 23:45:42 +00:00
parent ca3022fc20
commit 603bd64f73

View File

@ -25,7 +25,7 @@ import junit.framework.TestCase;
* @author Jason Height (jheight at apache.org)
*/
public final class TestUnicodeString extends TestCase {
private static final int MAX_DATA_SIZE = SSTRecord.MAX_RECORD_SIZE;
private static final int MAX_DATA_SIZE = RecordInputStream.MAX_RECORD_DATA_SIZE;
/** a 4 character string requiring 16 bit encoding */
private static final String STR_16_BIT = "A\u591A\u8A00\u8A9E";