Skip to content

Commit 9b7f1af

Browse files
Fix rebase errors
1 parent 529f3f4 commit 9b7f1af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assertions-examples/src/test/java/org/assertj/examples/IterableAssertionsExamples.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import static org.assertj.examples.extractor.TolkienCharactersExtractors.race;
3939

4040
import java.util.ArrayList;
41+
import java.util.Arrays;
4142
import java.util.Collection;
4243
import java.util.Iterator;
4344
import java.util.List;

assertions-examples/src/test/java/org/assertj/examples/StringAssertionsExamples.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import static org.assertj.core.api.Assertions.assertThat;
1616
import static org.assertj.core.util.Arrays.array;
17-
import static org.assertj.core.util.IterableUtil.smartFormat;
1817
import static org.assertj.core.util.Lists.newArrayList;
1918

2019
import java.io.File;
@@ -218,7 +217,7 @@ public void containsPattern_assertion_example() {
218217
@Test
219218
public void multine_collection_formatting() {
220219
String[] greatBooks = array("A Game of Thrones", "The Lord of the Rings", "Assassin's Apprentice ....");
221-
String smartFormat = smartFormat(StandardRepresentation.STANDARD_REPRESENTATION, newArrayList(greatBooks));
220+
String smartFormat = StandardRepresentation.STANDARD_REPRESENTATION.toStringOf(newArrayList(greatBooks));
222221
log.info(smartFormat);
223222
}
224223

0 commit comments

Comments
 (0)