Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit d498a50

Browse files
committed
Modify #227 test case
1 parent 5c20ca6 commit d498a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-0.10.2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('#227 IOS file modification date correctness', (report, done) => {
3838
fs.createFile(path, 'datafornow')
3939
.then(() => fs.stat(path))
4040
.then((stat) => {
41-
let date = Math.floor(stat.lastModified);
41+
let date = stat.lastModified;
4242
console.log(date, stat);
4343
let correct = date/Date.now() > 0.95 || date/Date.now() < 1.05;
4444
report(<Assert key="modification date should be correct"

0 commit comments

Comments
 (0)