Skip to content

Commit 40a1be6

Browse files
committed
fix code smell java:S5838
1 parent 0898d64 commit 40a1be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

community-rust-frontend/src/test/java/org/sonar/rust/metrics/LinesOfCodeVisitorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public URI uri() {
6363
lcv.visitFile(rootNode);
6464
Set<Integer> lines = lcv.linesOfCode();
6565

66-
assertThat(lines).hasSize(0);
66+
assertThat(lines).isEmpty();
6767

6868

6969
}

0 commit comments

Comments
 (0)