Skip to content

Commit 56f55fb

Browse files
committed
fix PwdTest
When running mvn release:perform, this test fails with: Expecting: <"/Users/benas/dev/projects/github/unix-stream/target/checkout"> to end with: <"unix-stream">
1 parent ccede57 commit 56f55fb

File tree

1 file changed

+1
-1
lines changed
  • src/test/java/io/github/benas/unixstream/components

1 file changed

+1
-1
lines changed

src/test/java/io/github/benas/unixstream/components/PwdTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void pwd() throws IOException {
1818

1919
List<Path> paths = stream.collect(Collectors.toList());
2020

21-
assertThat(paths.get(0).toString()).endsWith("unix-stream");
21+
assertThat(paths.get(0).toString()).contains("unix-stream");
2222
}
2323

2424
}

0 commit comments

Comments
 (0)