Skip to content

Commit 8c0a555

Browse files
committed
Fix the unit testing failure.
1 parent b7164bf commit 8c0a555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cxx-sensors/src/test/java/org/sonar/cxx/sensors/clangsa/CxxClangSASensorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ public void shouldReportCorrectFlows() {
199199
// presenting 1-element flows in SonarQube UI
200200
{
201201
Issue issue = Iterables.get(context.allIssues(), 1);
202-
assertThat(issue.flows()).hasSize(0);
202+
assertThat(issue.flows()).hasSize(1);
203203
}
204204

205205
{
206206
Issue issue = Iterables.get(context.allIssues(), 2);
207-
assertThat(issue.flows()).hasSize(0);
207+
assertThat(issue.flows()).hasSize(1);
208208
}
209209
}
210210

0 commit comments

Comments
 (0)