slight text adjustment

This commit is contained in:
Killerqu00
2025-01-29 13:24:14 +01:00
parent d15a770078
commit 32f7ea6c29

View File

@@ -158,7 +158,7 @@ namespace Content.IntegrationTests.Tests
Assert.That(postMapInit, Is.False, $"Map {map.Filename} was saved postmapinit");
// testing that maps have nothing with the "DO NOT MAP" suffix
// testing that maps have nothing with the DoNotMap entity category
// I do it here because it's basically copy-paste code for the most part
var yamlEntities = root["entities"];
if (!protoManager.TryIndex<EntityCategoryPrototype>("DoNotMap", out var dnmCategory))
@@ -171,7 +171,7 @@ namespace Content.IntegrationTests.Tests
continue;
if (proto.Categories.Contains(dnmCategory) && !DoNotMapWhitelist.Contains(map.ToString()))
{
Assert.Fail($"\nMap {map} has the DO NOT MAP prototype {proto.Name}");
Assert.Fail($"\nMap {map} has the DO NOT MAP category in prototype {proto.Name}");
}
}
}