mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +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