From: <bo...@us...> - 2010-07-15 06:41:16
|
Revision: 416 http://xmlunit.svn.sourceforge.net/xmlunit/?rev=416&view=rev Author: bodewig Date: 2010-07-15 06:41:10 +0000 (Thu, 15 Jul 2010) Log Message: ----------- extra diagnostics cause an error when the test passes Modified Paths: -------------- trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs Modified: trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs =================================================================== --- trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs 2010-07-15 06:32:45 UTC (rev 415) +++ trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs 2010-07-15 06:41:10 UTC (rev 416) @@ -39,7 +39,8 @@ Assert.IsTrue(r.Valid, "Expected validation to pass, first validation error" - + " is " + problems.Current.Message); + + " is " + + (haveErrors ? problems.Current.Message : "unknown")); Assert.IsFalse(haveErrors); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |