diff options
| -rw-r--r-- | spec/time_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/time_spec.lua b/spec/time_spec.lua index e1b457a..a017cfe 100644 --- a/spec/time_spec.lua +++ b/spec/time_spec.lua | |||
| @@ -25,7 +25,7 @@ describe('Test time functions', function() | |||
| 25 | local starttime = system.gettime() | 25 | local starttime = system.gettime() |
| 26 | local starttick = system.monotime() | 26 | local starttick = system.monotime() |
| 27 | system.sleep(0.5) | 27 | system.sleep(0.5) |
| 28 | assert.is_near(0.5, system.gettime() - starttime, 0.1) | 28 | assert.is_near(0.5, system.gettime() - starttime, 0.15) |
| 29 | assert.is_near(0.5, system.monotime() - starttick, 0.1) | 29 | assert.is_near(0.5, system.monotime() - starttick, 0.15) |
| 30 | end) | 30 | end) |
| 31 | end) | 31 | end) |
