Skip to content

Commit

Permalink
fix fwrite file size test for windows where its 34 bytes bigger. #580
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdowle committed Apr 14, 2016
1 parent 029c141 commit af4c21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/tests/tests.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -8736,7 +8736,7 @@ DT <- as.data.table(m)
f <- tempfile()
system.time(fwrite(DT, f, eol='\n')) # eol fixed so size test passes on Windows
system.time(fwrite(DT, f, eol='\n')) # run again to force seg fault
test(1664, file.info(f)$size, 6288931)
test(1664, file.info(f)$size %/% 100, 62889) # file size appears to be 34 bytes bigger on Windows (6288931 vs 6288965)
unlink(f)


Expand Down

0 comments on commit af4c21b

Please sign in to comment.