Land fixes: stamp judged before the body, deep stores on the grown stack, ported tests refuse by their typed errors
Stamp rule runs on slot 0 before the body is scanned (JudgeStamp). DescribeHeader names a v<N> header that carries a suffix. Rust store_header walks on the grown stack. Drift tests declare Wide's id compatible (ownership by declaration). Mesh write-guard tests expect the typed refusals. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f2b3569822
commit
c14b2c65d1
5 changed files with 69 additions and 24 deletions
|
|
@ -45,7 +45,7 @@ public sealed class CultMeshSingleFileWriteGuardTests
|
|||
File.WriteAllBytes(_path, CultDocumentMessagePackSerialization.SerializeSnapshot(snapshot));
|
||||
var before = File.ReadAllBytes(_path);
|
||||
|
||||
var error = Assert.Throws<NotSupportedException>(() => Write("item:a", 2))!;
|
||||
var error = Assert.Throws<CultStoreUnreadableException>(() => Write("item:a", 2))!;
|
||||
|
||||
error.Message.Should().Contain(newer);
|
||||
File.ReadAllBytes(_path).Should().Equal(before);
|
||||
|
|
@ -115,7 +115,7 @@ public sealed class CultMeshSingleFileWriteGuardTests
|
|||
File.WriteAllBytes(_path, CultDocumentMessagePackSerialization.SerializeSnapshot(snapshot));
|
||||
var before = File.ReadAllBytes(_path);
|
||||
|
||||
Assert.Throws<InvalidOperationException>(() => Write("item:a", 2));
|
||||
Assert.Throws<CultWriteConflictException>(() => Write("item:a", 2));
|
||||
|
||||
File.ReadAllBytes(_path).Should().Equal(before);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue