mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -55,6 +55,7 @@ namespace NzbDrone.Test.Common
|
||||
|
||||
errors += Environment.NewLine + string.Format("[{0}] {1}: {2} {3}", log.Level, log.LoggerName, log.FormattedMessage, exception);
|
||||
}
|
||||
|
||||
return errors;
|
||||
}
|
||||
|
||||
@@ -75,7 +76,9 @@ namespace NzbDrone.Test.Common
|
||||
}
|
||||
|
||||
if (!_waitEvent.Wait(msec))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Expected(LogLevel.Error, count);
|
||||
@@ -142,9 +145,11 @@ namespace NzbDrone.Test.Common
|
||||
|
||||
if (levelLogs.Count != count)
|
||||
{
|
||||
|
||||
var message = string.Format("{0} {1}(s) were expected but {2} were logged.\n\r{3}",
|
||||
count, level, levelLogs.Count, GetLogsString(levelLogs));
|
||||
count,
|
||||
level,
|
||||
levelLogs.Count,
|
||||
GetLogsString(levelLogs));
|
||||
|
||||
message = "\n\r****************************************************************************************\n\r"
|
||||
+ message +
|
||||
|
Reference in New Issue
Block a user