Maven: index test fixed

This commit is contained in:
Anton Makeev
2011-08-26 13:46:19 +02:00
parent df6d79ce8a
commit 364c293d67
@@ -363,7 +363,7 @@ public class MavenIndicesTest extends MavenIndicesTestCase {
}
else {
byte[] content = FileUtil.loadFileBytes(file);
for (int i = content.length / 2; i < content.length; i++) {
for (int i = 0; i < content.length; i+=2) {
content[i] = -1;
}
FileUtil.writeToFile(file, content);