26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
|
From e03f1786054c239e8562e0af4d1239970862e581 Mon Sep 17 00:00:00 2001
|
||
|
From: Marian Koncek <mkoncek@redhat.com>
|
||
|
Date: Wed, 16 Oct 2019 09:32:19 +0200
|
||
|
Subject: [PATCH] Fix test failure
|
||
|
|
||
|
---
|
||
|
.../src/test/java/org/xmlunit/assertj/ValueAssertTest.java | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/xmlunit-assertj/src/test/java/org/xmlunit/assertj/ValueAssertTest.java b/xmlunit-assertj/src/test/java/org/xmlunit/assertj/ValueAssertTest.java
|
||
|
index d1e3545..87f77ee 100644
|
||
|
--- a/xmlunit-assertj/src/test/java/org/xmlunit/assertj/ValueAssertTest.java
|
||
|
+++ b/xmlunit-assertj/src/test/java/org/xmlunit/assertj/ValueAssertTest.java
|
||
|
@@ -224,7 +224,7 @@ public class ValueAssertTest {
|
||
|
@Test
|
||
|
public void testIsEqualTo_withAttributeValueExpression_shouldFailed() {
|
||
|
|
||
|
- thrown.expectAssertionError("expected:<\"[something]\"> but was:<\"[abc]\">");
|
||
|
+ thrown.expectAssertionError("Expecting:\n <\"abc\">\nto be equal to:\n <\"something\">\nbut was not.");
|
||
|
|
||
|
String xml = "<a><b attr=\"abc\"></b></a>";
|
||
|
|
||
|
--
|
||
|
2.21.0
|
||
|
|