Skip to content

Commit

Permalink
Merge pull request luvit#334 from squeek502/gettimeofday-test
Browse files Browse the repository at this point in the history
Fix inconsistent assert in gettimeofday test
  • Loading branch information
zhaozg committed Jun 2, 2019
2 parents a07931d + 42b22e4 commit afd2072
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test-misc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ return require('lib/tap')(function (test)
local sec, usec = assert(uv.gettimeofday())
print(' os.time', now)
print('uv.gettimeofday',string.format("%f",sec+usec/10^9))
assert(sec >= now)
assert(type(sec)=='number')
assert(type(usec)=='number')
else
Expand Down

0 comments on commit afd2072

Please sign in to comment.