You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2011/09/06 11:38:09 UTC

[jira] [Updated] (LOG4NET-218) Test StringFormatTest.TestFormatString fails

     [ https://issues.apache.org/jira/browse/LOG4NET-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated LOG4NET-218:
-----------------------------------

    Fix Version/s: 1.2 Maintenance Release

I'll note that I cannot reproduce this test error using .NET 4.0 and NAnt or the NUnit GUI runner - on a German Locale.

> Test StringFormatTest.TestFormatString fails
> --------------------------------------------
>
>                 Key: LOG4NET-218
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-218
>             Project: Log4net
>          Issue Type: Test
>    Affects Versions: 1.2.10
>         Environment: MS Studio 9 (2008) with ReSharper 4.5 installed
>            Reporter: Maik
>             Fix For: 1.2 Maintenance Release
>
>
> The test "StringFormatTest.TestFormatString" fails with the following message:
> NUnit.Framework.AssertionException: Test formatting error
>     String lengths differ.  Expected length=272, but was length=291.
>     Strings differ at index 46.
>     expected: <"...ror>Exception during StringFormat: Index (zero based) must be greater ...">
>      but was: <"...ror>Exception during StringFormat: Der Index, basierend auf 0 (null), ...">
>     --------------------------------------------------^
> The test seems to be dependent from the language settings of the current user

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira