updated GHContentIntegrationTest.java

dummy commit
This commit is contained in:
Stefan Reisner
2020-05-13 12:39:10 +02:00
parent 65d6fc7272
commit 488e5e531f

View File

@@ -166,6 +166,7 @@ public class GHContentIntegrationTest extends AbstractGitHubWireMockTest {
final GHRepository repo = gitHub.getRepository("hub4j-test-org/GHContentIntegrationTest");
final GHContent fileContent = repo.getFileContent("ghcontent-ro/a-file-with-\u00F6");
assertThat(IOUtils.readLines(fileContent.read(), StandardCharsets.UTF_8), hasItems("test"));
final GHContent fileContent2 = repo.getFileContent(fileContent.getPath());
assertThat(IOUtils.readLines(fileContent2.read(), StandardCharsets.UTF_8), hasItems("test"));
}