Commit f3d6b405 authored by Grand Francois's avatar Grand Francois
Browse files

#36 : correction de Result.resultsOk() (crash si aucun ResultElement)

Showing with 1 addition and 1 deletion
+1 -1
......@@ -192,7 +192,7 @@ export class Result {
* @returns true si le test est valide
*/
public get resultsOk(): boolean {
if (this._results.length === 0 && this.log.messages.length === 0) {
if (this._results.length === 0) {
return false;
}
for (const r of this._results) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment