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 2023/08/05 19:46:37 UTC
[commons-dbutils] branch master updated: Better JUnit API usage
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 3101d61 Better JUnit API usage
3101d61 is described below
commit 3101d610c80c2d800916a0fd1c468a03cc31e630
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 5 15:46:32 2023 -0400
Better JUnit API usage
---
src/test/java/org/apache/commons/dbutils/QueryLoaderTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/dbutils/QueryLoaderTest.java b/src/test/java/org/apache/commons/dbutils/QueryLoaderTest.java
index 33ab343..1f1b2ec 100644
--- a/src/test/java/org/apache/commons/dbutils/QueryLoaderTest.java
+++ b/src/test/java/org/apache/commons/dbutils/QueryLoaderTest.java
@@ -31,7 +31,7 @@ public class QueryLoaderTest extends BaseTestCase {
final QueryLoader loader = QueryLoader.instance();
final Map<String,String> q = loader.load(QUERIES);
final Map<String,String> q2 = loader.load(QUERIES);
- assertTrue(q == q2); // pointer comparison should return true
+ assertSame(q, q2); // pointer comparison should return true
assertEquals("SELECT * FROM SomeTable", q.get("test.query"));
loader.unload(QUERIES);