Prepend Client and Server to tests ran message

This commit is contained in:
DrSmugleaf
2021-11-06 11:42:01 +01:00
parent 04d029b9a2
commit fa5d0235ec

View File

@@ -57,7 +57,9 @@ namespace Robust.UnitTesting
private string GetTestsRanString(IntegrationInstance instance, string running)
{
return $"Tests ran ({instance.TestsRan.Count}):\n" +
var type = instance is ServerIntegrationInstance ? "Server " : "Client ";
return $"{type} tests ran ({instance.TestsRan.Count}):\n" +
$"{string.Join('\n', instance.TestsRan)}\n" +
$"Currently running: {running}";
}