We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 497df51 commit f999c48Copy full SHA for f999c48
README.md
@@ -31,13 +31,13 @@ socksServer.stop(); // stops server on all ports
31
For use in junit 5 tests (for Junit 4 use a version < 3.0.0):
32
33
```
34
- @RegisterExtension
35
- static SockServerExtension sockServerRule = new SockServerExtension(PROXY_SERVER_PORT);
36
-
37
- // or
38
39
40
- static SockServerExtension sockServerRule = new SockServerExtension(PROXY_SERVER_PORT, myServerSocketFactory);
+@RegisterExtension
+static SockServerExtension sockServerRule = new SockServerExtension(PROXY_SERVER_PORT);
+
+// or
+static SockServerExtension sockServerRule = new SockServerExtension(PROXY_SERVER_PORT, myServerSocketFactory);
41
42
43
And that's it!
0 commit comments