Commit 1a4871f
committed
Extract assertConnectionToSftpServerNotPossible.
Improve readability of the code. The reader can now read the test
without knowing how the test checks that it cannot connect to the
server. In addition they don't have to understand that the extracted
code means that a connection to the server is checked.1 parent cd72d2a commit 1a4871f
File tree
1 file changed
+9
-8
lines changed- src/test/java/com/github/stefanbirkner/fakesftpserver/rule
1 file changed
+9
-8
lines changedLines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
| 575 | + | |
579 | 576 | | |
580 | 577 | | |
581 | 578 | | |
| |||
587 | 584 | | |
588 | 585 | | |
589 | 586 | | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
594 | 595 | | |
595 | 596 | | |
596 | 597 | | |
| |||
0 commit comments