logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1538405 - /logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs
Date Sun, 03 Nov 2013 17:46:58 GMT
Author: bodewig
Date: Sun Nov  3 17:46:57 2013
New Revision: 1538405

URL: http://svn.apache.org/r1538405
Log:
exception message has changed in Mono 2.10, at least on Windows

Modified:
    logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs

Modified: logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs?rev=1538405&r1=1538404&r2=1538405&view=diff
==============================================================================
--- logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs (original)
+++ logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs Sun Nov  3 17:46:57
2013
@@ -1530,11 +1530,7 @@ namespace log4net.Tests.Appender
 			}
 			catch(IOException e1)
 			{
-#if MONO
-				Assert.AreEqual("Sharing violation on path ", e1.Message.Substring(0, 26), "Unexpected
exception");
-#else
 				Assert.AreEqual("The process cannot access the file ", e1.Message.Substring(0, 35), "Unexpected
exception");
-#endif
 				locked = true;
 			}
 



Mime
View raw message