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:
parent
13d26df2d5
commit
1f83235919
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue