Skip to content

Commit

Permalink
fix NPE on not executed tests (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenmore authored Jan 9, 2024
1 parent 058d440 commit 4b2b387
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public boolean addFeedback(Feedback feedback) {
return false;
}

if (feedback.getPositive()) {
if (feedback.getPositive() != null && feedback.getPositive()) {
this.passedFeedbacks.add(feedback);
} else {
this.failedFeedbacks.add(feedback);
Expand Down

0 comments on commit 4b2b387

Please sign in to comment.