Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cbfe72a

Browse filesBrowse files
committed
Fixed a broken test
1 parent 4f17d35 commit cbfe72a
Copy full SHA for cbfe72a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎src/test/java/org/kohsuke/github/GHContentIntegrationTest.java

Copy file name to clipboardExpand all lines: src/test/java/org/kohsuke/github/GHContentIntegrationTest.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ public void testGetDirectoryContentTrailingSlash() throws Exception {
5353

5454
@Test
5555
public void testCRUDContent() throws Exception {
56-
;
5756
GHContentUpdateResponse created =
58-
repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename,
59-
repo.getFileContent(createdFilename).getSha());
57+
repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename);
6058
GHContent createdContent = created.getContent();
6159

6260
assertNotNull(created.getCommit());

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.