mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 10:12:38 +00:00
string formatting because lolwindows
This commit is contained in:
@@ -19,7 +19,10 @@ namespace Octokit.Tests.Conventions
|
||||
static string CreateMessage(Type type, IEnumerable<string> methods)
|
||||
{
|
||||
var methodsFormatted = String.Join("\r\n", methods.Select(m => String.Format(" - {0}", m)));
|
||||
return String.Format("Methods found on type {0} which should be removed:\r\n{1}", type.Name, methodsFormatted);
|
||||
return "Methods found on type {0} which should be removed:\r\n{1}"
|
||||
.FormatWithNewLine(
|
||||
type.Name,
|
||||
methodsFormatted);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user