Fix expectations of GeoPointFieldMapperTests.

Closes #19895
This commit is contained in:
Adrien Grand 2016-08-10 09:30:39 +02:00
parent 5f3883ed11
commit 42725e9339
1 changed files with 1 additions and 2 deletions

View File

@ -862,8 +862,7 @@ public class GeoPointFieldMapperTests extends ESSingleNodeTestCase {
final int numHashes = hashes.size();
for(int i=0; i<numHashes; ++i) {
String hash = "dr5regy6rc6y".substring(0, numHashes-i);
Object expected = version.before(Version.V_5_0_0_alpha1) ? hash : new BytesRef(hash);
assertEquals(expected, hashes.get(i));
assertEquals(hash, hashes.get(i));
}
}