Skip to content

Commit 9cee36e

Browse files
committed
Upgrade to assertj-core 3.19.0
1 parent 3416ed0 commit 9cee36e

8 files changed

+25
-25
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>org.assertj</groupId>
4343
<artifactId>assertj-core</artifactId>
44-
<version>3.17.2</version>
44+
<version>3.19.0</version>
4545
</dependency>
4646
<dependency>
4747
<groupId>net.bytebuddy</groupId>

src/test/java/org/assertj/db/api/assertions/AssertOnValueCondition_DoesNotHave_Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public void should_fail_because_value_not_match_with_condition() {
8080
"[Value at end point of Column at index 2 (column name : VAR3) of Change at index 0 (with primary key : [1000]) of "
8181
+ "Changes on TEST table of 'sa/jdbc:h2:mem:test' source] %n"
8282
+ "Expecting:%n"
83-
+ " <0>%n"
84-
+ "not to be <isZero>"));
83+
+ " 0%n"
84+
+ "not to be isZero"));
8585
}
8686
try {
8787
assertThat(table).column("var3").value(3).doesNotHave(zero);
@@ -90,8 +90,8 @@ public void should_fail_because_value_not_match_with_condition() {
9090
Assertions.assertThat(e.getMessage())
9191
.isEqualTo(String.format("[Value at index 3 of Column at index 2 (column name : VAR3) of TEST table] %n"
9292
+ "Expecting:%n"
93-
+ " <0>%n"
94-
+ "not to be <isZero>"));
93+
+ " 0%n"
94+
+ "not to be isZero"));
9595
}
9696
}
9797
}

src/test/java/org/assertj/db/api/assertions/AssertOnValueCondition_Has_Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public void should_fail_because_value_not_match_with_condition() {
8080
"[Value at end point of Column at index 2 (column name : VAR3) of Change at index 0 (with primary key : [1]) of "
8181
+ "Changes on TEST table of 'sa/jdbc:h2:mem:test' source] %n"
8282
+ "Expecting:%n"
83-
+ " <2>%n"
84-
+ "to be <isZero>"));
83+
+ " 2%n"
84+
+ "to be isZero"));
8585
}
8686
try {
8787
assertThat(table).column("var3").value().has(zero);
@@ -90,8 +90,8 @@ public void should_fail_because_value_not_match_with_condition() {
9090
Assertions.assertThat(e.getMessage())
9191
.isEqualTo(String.format("[Value at index 0 of Column at index 2 (column name : VAR3) of TEST table] %n"
9292
+ "Expecting:%n"
93-
+ " <2>%n"
94-
+ "to be <isZero>"));
93+
+ " 2%n"
94+
+ "to be isZero"));
9595
}
9696
}
9797
}

src/test/java/org/assertj/db/api/assertions/AssertOnValueCondition_IsNot_Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public void should_fail_because_value_not_match_with_condition() {
8080
"[Value at end point of Column at index 2 (column name : VAR3) of Change at index 0 (with primary key : [1000]) of "
8181
+ "Changes on TEST table of 'sa/jdbc:h2:mem:test' source] %n"
8282
+ "Expecting:%n"
83-
+ " <0>%n"
84-
+ "not to be <isZero>"));
83+
+ " 0%n"
84+
+ "not to be isZero"));
8585
}
8686
try {
8787
assertThat(table).column("var3").value(3).isNot(zero);
@@ -90,8 +90,8 @@ public void should_fail_because_value_not_match_with_condition() {
9090
Assertions.assertThat(e.getMessage())
9191
.isEqualTo(String.format("[Value at index 3 of Column at index 2 (column name : VAR3) of TEST table] %n"
9292
+ "Expecting:%n"
93-
+ " <0>%n"
94-
+ "not to be <isZero>"));
93+
+ " 0%n"
94+
+ "not to be isZero"));
9595
}
9696
}
9797
}

src/test/java/org/assertj/db/api/assertions/AssertOnValueCondition_Is_Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public void should_fail_because_value_not_match_with_condition() {
8080
"[Value at end point of Column at index 2 (column name : VAR3) of Change at index 0 (with primary key : [1]) of "
8181
+ "Changes on TEST table of 'sa/jdbc:h2:mem:test' source] %n"
8282
+ "Expecting:%n"
83-
+ " <2>%n"
84-
+ "to be <isZero>"));
83+
+ " 2%n"
84+
+ "to be isZero"));
8585
}
8686
try {
8787
assertThat(table).column("var3").value().is(zero);
@@ -90,8 +90,8 @@ public void should_fail_because_value_not_match_with_condition() {
9090
Assertions.assertThat(e.getMessage())
9191
.isEqualTo(String.format("[Value at index 0 of Column at index 2 (column name : VAR3) of TEST table] %n"
9292
+ "Expecting:%n"
93-
+ " <2>%n"
94-
+ "to be <isZero>"));
93+
+ " 2%n"
94+
+ "to be isZero"));
9595
}
9696
}
9797
}

src/test/java/org/assertj/db/api/assertions/AssertOnValueCondition_Satisfies_Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public void should_fail_because_value_not_match_with_condition() {
8080
"[Value at end point of Column at index 2 (column name : VAR3) of Change at index 0 (with primary key : [1]) of "
8181
+ "Changes on TEST table of 'sa/jdbc:h2:mem:test' source] %n"
8282
+ "Expecting:%n"
83-
+ " <2>%n"
84-
+ "to be <isZero>"));
83+
+ " 2%n"
84+
+ "to be isZero"));
8585
}
8686
try {
8787
assertThat(table).column("var3").value().satisfies(zero);
@@ -90,8 +90,8 @@ public void should_fail_because_value_not_match_with_condition() {
9090
Assertions.assertThat(e.getMessage())
9191
.isEqualTo(String.format("[Value at index 0 of Column at index 2 (column name : VAR3) of TEST table] %n"
9292
+ "Expecting:%n"
93-
+ " <2>%n"
94-
+ "to be <isZero>"));
93+
+ " 2%n"
94+
+ "to be isZero"));
9595
}
9696
}
9797
}

src/test/java/org/assertj/db/api/assertions/impl/AssertionsOnValueCondition_IsNot_Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public void should_fail_because_value_not_satisfies_condition() throws Exception
6666
} catch (AssertionError e) {
6767
Assertions.assertThat(e.getMessage()).isEqualTo(String.format("[description] %n"
6868
+ "Expecting:%n"
69-
+ " <0>%n"
70-
+ "not to be <isZero>"));
69+
+ " 0%n"
70+
+ "not to be isZero"));
7171
}
7272
}
7373
}

src/test/java/org/assertj/db/api/assertions/impl/AssertionsOnValueCondition_Is_Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public void should_fail_because_value_not_satisfies_condition() throws Exception
6666
} catch (AssertionError e) {
6767
Assertions.assertThat(e.getMessage()).isEqualTo(String.format("[description] %n"
6868
+ "Expecting:%n"
69-
+ " <1>%n"
70-
+ "to be <isZero>"));
69+
+ " 1%n"
70+
+ "to be isZero"));
7171
}
7272
}
7373
}

0 commit comments

Comments
 (0)