You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/03/22 20:00:20 UTC
(commons-dbutils) branch master updated: Use proper JUnit API
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git
The following commit(s) were added to refs/heads/master by this push:
new a6e5ab5 Use proper JUnit API
a6e5ab5 is described below
commit a6e5ab52b0ef36c5a95666c9378b93a3edce2503
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Mar 22 16:00:16 2024 -0400
Use proper JUnit API
---
.../commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/test/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java b/src/test/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java
index 9ac6e51..2fa89c1 100644
--- a/src/test/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java
+++ b/src/test/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java
@@ -331,8 +331,8 @@ public class SqlNullCheckedResultSetTest extends BaseTestCase {
assertTrue(rs.wasNull());
// Set what gets returned to something other than the default
rs2.setNullBoolean(true);
- assertEquals(true, rs.getBoolean(1));
- assertEquals(true, rs.getBoolean("column"));
+ assertTrue( rs.getBoolean(1));
+ assertTrue( rs.getBoolean("column"));
}
@@ -704,8 +704,8 @@ public class SqlNullCheckedResultSetTest extends BaseTestCase {
assertEquals(false, rs2.getNullBoolean());
// Set what gets returned to something other than the default
rs2.setNullBoolean(true);
- assertEquals(true, rs.getBoolean(1));
- assertEquals(true, rs.getBoolean("column"));
+ assertTrue( rs.getBoolean(1));
+ assertTrue( rs.getBoolean("column"));
}