Skip to content

Commit 7b5bd1c

Browse files
committed
Fix test cleanup.deletes_directory
A new version of sshd-core has been published with the message for a missing directory changed. Maven uses the latest version and therefore the test has to be adjusted to the changed message.
1 parent 88750f5 commit 7b5bd1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</parent>
1010

1111
<artifactId>fake-sftp-server-rule</artifactId>
12-
<version>1.3.1</version>
12+
<version>1.4.0-SNAPSHOT</version>
1313
<packaging>jar</packaging>
1414

1515
<name>Fake SFTP Server Rule</name>

src/test/java/com/github/stefanbirkner/fakesftpserver/rule/FakeSftpServerRuleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ private static void assertDirectoryDoesNotExist(
878878
try {
879879
assertThatThrownBy(() -> channel.ls(directory))
880880
.isInstanceOf(SftpException.class)
881-
.hasMessage("Internal FileNotFoundException: " + directory);
881+
.hasMessage("No such file or directory");
882882
} finally {
883883
channel.disconnect();
884884
session.disconnect();

0 commit comments

Comments
 (0)