@@ -56,7 +56,7 @@ public void createUsefulMessageWhenAsDoubleFailed() {
5656
5757 thrown .expect (AssertionError .class );
5858 thrown .expectMessage ("XML with XPath //fruits/fruit/@name evaluated to " +
59- "string and converted to java.lang.Double <3.0>" );
59+ "string converted to java.lang.Double <3.0>" );
6060 thrown .expectMessage ("failed with java.lang.NumberFormatException: For input string: \" apple\" " );
6161
6262 String xml = "<fruits><fruit name=\" apple\" /></fruits>" ;
@@ -69,7 +69,7 @@ public void createUsefulMessageWhenAsBigDecimalFailed() {
6969
7070 thrown .expect (AssertionError .class );
7171 thrown .expectMessage ("XML with XPath //fruits/fruit/@name evaluated to " +
72- "string and converted to java.math.BigDecimal <10>" );
72+ "string converted to java.math.BigDecimal <10>" );
7373 thrown .expectMessage ("failed with java.lang.NumberFormatException" );
7474
7575 String xml = "<fruits><fruit name=\" apple\" /></fruits>" ;
@@ -82,7 +82,7 @@ public void createUsefulMessageWhenAsIntFailed() {
8282
8383 thrown .expect (AssertionError .class );
8484 thrown .expectMessage ("XML with XPath //fruits/fruit/@name evaluated to " +
85- "string and converted to java.lang.Integer <3>" );
85+ "string converted to java.lang.Integer <3>" );
8686 thrown .expectMessage ("failed with java.lang.NumberFormatException: For input string: \" apple\" " );
8787
8888 String xml = "<fruits><fruit name=\" apple\" /></fruits>" ;
@@ -95,7 +95,7 @@ public void createUsefulMessageWhenAsBooleanFailed() {
9595
9696 thrown .expect (AssertionError .class );
9797 thrown .expectMessage ("XML with XPath //fruits/fruit/@name evaluated to " +
98- "string and converted to java.lang.Boolean <false>" );
98+ "string converted to java.lang.Boolean <false>" );
9999 thrown .expectMessage ("failed with java.lang.IllegalArgumentException: \" apple\" is not a boolean value" );
100100
101101 String xml = "<fruits><fruit name=\" apple\" /></fruits>" ;
@@ -108,7 +108,7 @@ public void createUsefulMessageWhenEqualToFailed() {
108108
109109 thrown .expect (AssertionError .class );
110110 thrown .expectMessage ("XML with XPath count(//fruits/fruit) evaluated to " +
111- "string and converted to java.lang.Integer <2>" );
111+ "string converted to java.lang.Integer <2>" );
112112 thrown .expectMessage ("was <1>" );
113113
114114 String xml = "<fruits><fruit name=\" apple\" /></fruits>" ;
0 commit comments