Tests: rename a lambda parameter that shadowed the record (f744817a does not build the Caching tests)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-27 09:19:57 +01:00
commit 414cf6e1ee

View file

@ -593,7 +593,7 @@ namespace GameCult.Caching.Tests
if (entryListsOldId)
{
new SingleFileMessagePackBackingStore(path).WriteRecord(record, passed, null, registry);
Assert.That(Snapshot(path).Records.Single(r => r.Key == "note").SchemaId, Is.EqualTo(full.SchemaId));
Assert.That(Snapshot(path).Records.Single(stored => stored.Key == "note").SchemaId, Is.EqualTo(full.SchemaId));
return;
}
Assert.Throws<CultSchemaConflictException>(() => new SingleFileMessagePackBackingStore(path).WriteRecord(record, passed, null, registry));