Mesh tests: the variant record carries its empty payload
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b151b11bed
commit
0d043f7347
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ public sealed class CultMeshSingleFileWriteGuardTests
|
|||
Write("item:a", 1);
|
||||
var snapshot = CultDocumentMessagePackSerialization.DeserializeSnapshot(File.ReadAllBytes(_path));
|
||||
snapshot.FormatVersion = CultPersistedStoreSnapshot.FormatV2;
|
||||
snapshot.Records[0].Payload = Array.Empty<byte>();
|
||||
snapshot.Records[0].Variant = new CultVariantDelta("item:base", Array.Empty<CultVariantOverride>());
|
||||
File.WriteAllBytes(_path, CultDocumentMessagePackSerialization.SerializeSnapshot(snapshot));
|
||||
var before = File.ReadAllBytes(_path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue