From 1fb7393a1b5b137548e298b59355d0c9fc3b42bd Mon Sep 17 00:00:00 2001 From: Tayrtahn Date: Sat, 20 Apr 2024 17:23:09 -0400 Subject: [PATCH] Make material arbitrage test more verbose (#27180) List entities spawned by destruction for debugging --- Content.IntegrationTests/Tests/MaterialArbitrageTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.IntegrationTests/Tests/MaterialArbitrageTest.cs b/Content.IntegrationTests/Tests/MaterialArbitrageTest.cs index a2faef0dd4..42c5471c44 100644 --- a/Content.IntegrationTests/Tests/MaterialArbitrageTest.cs +++ b/Content.IntegrationTests/Tests/MaterialArbitrageTest.cs @@ -183,7 +183,7 @@ public sealed class MaterialArbitrageTest var spawnedPrice = await GetSpawnedPrice(spawnedEnts); var price = await GetPrice(id); if (spawnedPrice > 0 && price > 0) - Assert.That(spawnedPrice, Is.LessThanOrEqualTo(price), $"{id} increases in price after being destroyed"); + Assert.That(spawnedPrice, Is.LessThanOrEqualTo(price), $"{id} increases in price after being destroyed\nEntities spawned on destruction: {string.Join(',', spawnedEnts)}"); // Check lathe production if (latheRecipes.TryGetValue(id, out var recipe))