Make sure to test java.io.File#lastModified

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2013-10-17 14:30:41 -05:00
parent ba10a58e3b
commit 974073ed17

View File

@ -56,6 +56,8 @@ public class Files {
out.write(message);
out.close();
expect(f.lastModified() > 0);
FileInputStream in = new FileInputStream(f);
try {
expect(in.available() == message.length);