cache: assume archive data we don't decompress contains no revision. The downloaded data does not.

This commit is contained in:
Adam
2017-03-11 23:15:41 -05:00
parent 9170c41856
commit 963d82c903
4 changed files with 11 additions and 6 deletions

View File

@@ -26,7 +26,6 @@ package net.runelite.cache.fs;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import net.runelite.cache.StoreLocation;
import org.junit.Assert;
import org.junit.Rule;
@@ -56,6 +55,8 @@ public class DataFileTest
byte[] buf = res2.data;
String str = new String(buf);
Assert.assertEquals("test", str);
Assert.assertEquals(res.crc, res2.crc);
}
}