Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b53402 commit fb31c25Copy full SHA for fb31c25
src/test/java/g0801_0900/s0843_guess_the_word/SolutionTest.java
@@ -5,7 +5,7 @@
5
6
import org.junit.jupiter.api.Test;
7
8
-@SuppressWarnings("java:S5976")
+@SuppressWarnings({"java:S4144", "java:S5976"})
9
class SolutionTest {
10
@Test
11
void findSecretWord() {
@@ -21,13 +21,6 @@ void findSecretWord2() {
21
assertThat(numCalls[0] > 0, equalTo(true));
22
}
23
24
- @Test
25
- void findSecretWord3() {
26
- int[] numCalls = new int[] {0};
27
- doFindSecretWord(numCalls);
28
- assertThat(numCalls[0] > 0, equalTo(true));
29
- }
30
-
31
private void doFindSecretWord(int[] numCalls) {
32
new Solution()
33
.findSecretWord(
0 commit comments