This is an automated email from the ASF dual-hosted git repository.

bvahdat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f49372  better expect the same object reference rather than equal ones
5f49372 is described below

commit 5f49372db4ab3c8f60e39e18e50a28fee4320631
Author: Babak Vahdat <[email protected]>
AuthorDate: Sat Apr 11 00:51:59 2020 +0200

    better expect the same object reference rather than equal ones
---
 .../test/java/org/apache/camel/builder/endpoint/NormalizedUriTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/NormalizedUriTest.java
 
b/core/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/NormalizedUriTest.java
index 27ad1cf..c6bbedc 100644
--- 
a/core/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/NormalizedUriTest.java
+++ 
b/core/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/NormalizedUriTest.java
@@ -45,6 +45,6 @@ public class NormalizedUriTest extends CamelTestSupport {
         template.sendBody("direct:test", null);
 
         assertMockEndpointsSatisfied();
-        assertEquals(result, resultEndpoint);
+        assertSame(result, resultEndpoint);
     }
 }

Reply via email to