From 458d8d98b6abbebbbb7cbe178472ada6f0f83cf2 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 10 May 2018 15:26:06 +0200 Subject: [PATCH] Make junit assertion more verbose --- .../main/java/org/jivesoftware/smackx/caps/EntityCapsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-integration-test/src/main/java/org/jivesoftware/smackx/caps/EntityCapsTest.java b/smack-integration-test/src/main/java/org/jivesoftware/smackx/caps/EntityCapsTest.java index cc51e8fa4..077adc291 100644 --- a/smack-integration-test/src/main/java/org/jivesoftware/smackx/caps/EntityCapsTest.java +++ b/smack-integration-test/src/main/java/org/jivesoftware/smackx/caps/EntityCapsTest.java @@ -169,7 +169,7 @@ public class EntityCapsTest extends AbstractSmackIntegrationTest { DiscoverInfo info = sdmOne.discoverInfo(conTwo.getUser()); // that discovery should cause a disco#info assertTrue(discoInfoSend.get()); - assertTrue(info.containsFeature(dummyFeature)); + assertTrue("The info response '" + info + "' does not contain the expected feature '" + dummyFeature + '\'', info.containsFeature(dummyFeature)); discoInfoSend.set(false); // discover that