Skip to content

Commit 8098b68

Browse files
author
Alex Taylor
committed
formatting changes
sorry forgot to run the formatting automation before committing the last
1 parent 7356001 commit 8098b68

6 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/test/java/org/kohsuke/github/AbstractGitHubWireMockTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,12 @@ public static <T> void assertThat(T actual, Matcher<? super T> matcher) {
243243
public static <T> void assertThat(String reason, T actual, Matcher<? super T> matcher) {
244244
if (!matcher.matches(actual)) {
245245
Description description = new StringDescription();
246-
description.appendText(reason).appendText(System.lineSeparator()).appendText("Expected: ").appendDescriptionOf(matcher).appendText(System.lineSeparator()).appendText(" but: ");
246+
description.appendText(reason)
247+
.appendText(System.lineSeparator())
248+
.appendText("Expected: ")
249+
.appendDescriptionOf(matcher)
250+
.appendText(System.lineSeparator())
251+
.appendText(" but: ");
247252
matcher.describeMismatch(actual, description);
248253
throw new AssertionError(description.toString());
249254
}

src/test/java/org/kohsuke/github/CommitTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import java.io.IOException;
77

8-
98
/**
109
* @author Kohsuke Kawaguchi
1110
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import java.util.List;
1111

1212
import static org.hamcrest.CoreMatchers.*;
13+
1314
/**
1415
* Integration test for {@link GHContent}.
1516
*/

src/test/java/org/kohsuke/github/GHDeploymentTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import java.io.IOException;
66

7-
87
/**
98
* @author Martin van Zijl
109
*/

src/test/java/org/kohsuke/github/GHHookTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
import static java.util.Collections.singletonList;
1313
import static java.util.Collections.singletonMap;
14+
import static org.hamcrest.MatcherAssert.assertThat;
1415
import static org.hamcrest.Matchers.hasItem;
1516
import static org.hamcrest.Matchers.hasKey;
1617
import static org.hamcrest.core.IsInstanceOf.instanceOf;
17-
import static org.hamcrest.MatcherAssert.assertThat;
1818

1919
/**
2020
* @author Kanstantsin Shautsou

src/test/java/org/kohsuke/github/GitHubStaticTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.kohsuke.github;
22

3-
import org.junit.Assert;
43
import org.junit.Test;
54

65
import java.text.SimpleDateFormat;

0 commit comments

Comments
 (0)