Skip to content

Commit 099d859

Browse files
committed
refactor(JsoupSiteParserTest): use AssertJ instead of Hamcrest for assertions.
See also: - https://assertj.github.io/doc/#assertj-core-quick-start - https://www.baeldung.com/introduction-to-assertj Part of #1035
1 parent 80035c6 commit 099d859

File tree

2 files changed

+64
-57
lines changed

2 files changed

+64
-57
lines changed

pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,13 @@
359359
<scope>test</scope>
360360
</dependency>
361361

362+
<dependency>
363+
<groupId>org.assertj</groupId>
364+
<artifactId>assertj-core</artifactId>
365+
<version>${assertj.version}</version>
366+
<scope>test</scope>
367+
</dependency>
368+
362369
<dependency>
363370
<groupId>org.codehaus.groovy</groupId>
364371
<artifactId>groovy-all</artifactId>
@@ -436,6 +443,9 @@
436443
<!-- Set JVM options for maven-surefire-plugin -->
437444
<argLine>-Xss256k</argLine>
438445

446+
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
447+
<assertj.version>3.14.0</assertj.version>
448+
439449
<!-- Don't forget to update version in the ResourceUrl class -->
440450
<bootstrap.version>3.4.1</bootstrap.version>
441451

0 commit comments

Comments
 (0)