mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 03:27:59 +01:00
Fix assert in TestResult
sometimes the unit test where failing because the assert '>' didn't hold. Use '>=' instead now.
This commit is contained in:
parent
0a6ac76447
commit
38dc59eb8e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public abstract class TestResult {
|
|||
|
||||
public TestResult(Method testMethod, long startTime, long endTime, List<String> logMessages) {
|
||||
this.testMethod = testMethod;
|
||||
assert (endTime > startTime);
|
||||
assert (endTime >= startTime);
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.duration = endTime - startTime;
|
||||
|
|
Loading…
Reference in a new issue