Skip to content

Commit 3070d82

Browse files
committed
Remove the unthrown exception.
1 parent ad97b03 commit 3070d82

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/test/java/org/java_websocket/extensions/PerMessageDeflateExtensionTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88

99
import java.nio.ByteBuffer;
1010

11-
import static org.junit.Assert.*;
11+
import static org.junit.Assert.assertArrayEquals;
12+
import static org.junit.Assert.assertEquals;
13+
import static org.junit.Assert.assertFalse;
14+
import static org.junit.Assert.assertTrue;
15+
import static org.junit.Assert.fail;
1216

1317
public class PerMessageDeflateExtensionTest {
1418

@@ -113,7 +117,7 @@ public void testGetProvidedExtensionAsServer() {
113117
}
114118

115119
@Test
116-
public void testToString() throws Exception {
120+
public void testToString() {
117121
PerMessageDeflateExtension deflateExtension = new PerMessageDeflateExtension();
118122
assertEquals( "PerMessageDeflateExtension", deflateExtension.toString() );
119123
}

0 commit comments

Comments
 (0)