Skip to content
This repository was archived by the owner on Apr 2, 2019. It is now read-only.

Commit e583d2c

Browse files
committed
Fix wording
1 parent a03bc66 commit e583d2c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/sonar/plugins/github/GlobalReport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private void printNewIssuesInline(StringBuilder sb) {
121121
printNewIssuesInline(sb, Severity.CRITICAL);
122122
printNewIssuesInline(sb, Severity.BLOCKER);
123123
} else {
124-
sb.append(" no critical nor blocker");
124+
sb.append(" no criticals or blockers");
125125
}
126126
} else {
127127
sb.append("no issues");

src/test/java/org/sonar/plugins/github/PullRequestIssuePostJobTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public void testPullRequestAnalysisWithNewIssuesNoBlockerNorCritical() {
207207

208208
pullRequestIssuePostJob.executeOn(null, null);
209209

210-
verify(pullRequestFacade).createOrUpdateSonarQubeStatus(GHCommitState.SUCCESS, "SonarQube reported 1 issue, no critical nor blocker");
210+
verify(pullRequestFacade).createOrUpdateSonarQubeStatus(GHCommitState.SUCCESS, "SonarQube reported 1 issue, no criticals or blockers");
211211
}
212212

213213
@Test

0 commit comments

Comments
 (0)