Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb31c25

Browse files
authored
Improved task 843
1 parent 3b53402 commit fb31c25

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/test/java/g0801_0900/s0843_guess_the_word/SolutionTest.java

+1-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import org.junit.jupiter.api.Test;
77

8-
@SuppressWarnings("java:S5976")
8+
@SuppressWarnings({"java:S4144", "java:S5976"})
99
class SolutionTest {
1010
@Test
1111
void findSecretWord() {
@@ -21,13 +21,6 @@ void findSecretWord2() {
2121
assertThat(numCalls[0] > 0, equalTo(true));
2222
}
2323

24-
@Test
25-
void findSecretWord3() {
26-
int[] numCalls = new int[] {0};
27-
doFindSecretWord(numCalls);
28-
assertThat(numCalls[0] > 0, equalTo(true));
29-
}
30-
3124
private void doFindSecretWord(int[] numCalls) {
3225
new Solution()
3326
.findSecretWord(

0 commit comments

Comments
 (0)