public void testLenientVeryLongNumber() {
JsonReader reader = newJsonReader( "[0." + repeat( '9', 8192 ) + "]" );
reader.setLenient( true );
reader.beginArray();
assertEquals( JsonToken.STRING, reader.peek() );
assertEquals( 1d, reader.nextDouble() );
reader.endArray();
assertEquals( JsonToken.END_DOCUMENT, reader.peek() );
}
}