mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
string formatting because lolwindows
This commit is contained in:
@@ -19,7 +19,8 @@ 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 not found on interface {0} which are required:\r\n{1}", type.Name, methodsFormatted);
|
||||
return "Methods not found on interface {0} which are required:\r\n{1}"
|
||||
.FormatWithNewLine(type.Name, methodsFormatted);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user