mirror of
https://github.com/corda/corda.git
synced 2025-01-31 08:25:50 +00:00
Make sure to test java.io.File#lastModified
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
ba10a58e3b
commit
974073ed17
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user