Tests: compare record keys with Equals (the previous commit does not build)

CultRecordKey has no == operator. 13d26df2 fails to compile for that reason.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-08 14:49:58 +02:00
commit 1f83235919

View file

@ -338,7 +338,7 @@ public sealed partial class RunStartTests
Assert.Equal(tracking, rate.Max);
var key = _cache.RefOf(design).Key;
var sold = products.Where(p => p.Design.Key == key).ToArray();
var sold = products.Where(p => p.Design.Key.Equals(key)).ToArray();
Assert.True(sold.Length >= 3, $"{name} has at least three products, not {sold.Length}");
var makers = sold.Select(p => _cache.Get(p.Manufacturer)).ToArray();
Assert.DoesNotContain(null, makers);