CultMesh element-id test: the catalog entry's content hash differs, so the record really is unresolvable
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b0cc36bc7e
commit
95ddc59680
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ public sealed class CultMeshSingleFileElementIdTests
|
|||
const string changedId = "mesh.test.id_list.v0";
|
||||
var entry = snapshot.SchemaCatalog.Single(candidate => candidate.SchemaName == "mesh.test.id_list");
|
||||
entry.SchemaId = changedId;
|
||||
entry.ContentHash = "persisted-by-another-runtime";
|
||||
entry.Members.Single(member => member.Slot == 1).TypeName = "System.Collections.Generic.List`1[[Other.Inner]]";
|
||||
snapshot.Records.Single(record => record.Key == IdsKey.Value).SchemaId = changedId;
|
||||
File.WriteAllBytes(path, CultDocumentMessagePackSerialization.SerializeSnapshot(snapshot));
|
||||
|
|
|
|||
Loading…
Reference in a new issue