Skip to content

Commit

Permalink
chore: spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
midgleyc committed Aug 14, 2022
1 parent 0edd073 commit 92ed452
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 5 additions & 1 deletion src/net/sourceforge/kolmafia/request/ZapRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ public void processResults() {
}

// Notify the user of success.
KoLmafia.updateDisplay(this.item.getName() + " has been transformed into " + (acquired != null ? acquired : "an unknown item") + ".");
KoLmafia.updateDisplay(
this.item.getName()
+ " has been transformed into "
+ (acquired != null ? acquired : "an unknown item")
+ ".");
}

public static void parseResponse(final String urlString, final String responseText) {
Expand Down
8 changes: 2 additions & 6 deletions test/net/sourceforge/kolmafia/textui/RuntimeLibraryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,7 @@ void noWandReturnsNone() {

try (cleanups) {
String output = execute("zap($item[Dreadsylvanian spooky pocket])");
assertThat(
output,
containsString("Returned: none"));
assertThat(output, containsString("Returned: none"));
}
}

Expand All @@ -265,9 +263,7 @@ void canZapItem() {

try (cleanups) {
String output = execute("zap($item[Dreadsylvanian spooky pocket])");
assertThat(
output,
containsString("Returned: Dreadsylvanian hot pocket"));
assertThat(output, containsString("Returned: Dreadsylvanian hot pocket"));
}
}
}
Expand Down

0 comments on commit 92ed452

Please sign in to comment.