Fix assert in TestResult

sometimes the unit test where failing because the assert '>' didn't
hold. Use '>=' instead now.
This commit is contained in:
Florian Schmaus 2015-04-05 10:49:14 +02:00
parent 0a6ac76447
commit 38dc59eb8e
1 changed files with 1 additions and 1 deletions

View File

@ -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;