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:
parent
f744817a15
commit
414cf6e1ee
1 changed files with 1 additions and 1 deletions
|
|
@ -593,7 +593,7 @@ namespace GameCult.Caching.Tests
|
||||||
if (entryListsOldId)
|
if (entryListsOldId)
|
||||||
{
|
{
|
||||||
new SingleFileMessagePackBackingStore(path).WriteRecord(record, passed, null, registry);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
Assert.Throws<CultSchemaConflictException>(() => new SingleFileMessagePackBackingStore(path).WriteRecord(record, passed, null, registry));
|
Assert.Throws<CultSchemaConflictException>(() => new SingleFileMessagePackBackingStore(path).WriteRecord(record, passed, null, registry));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue