Track hidden changes behind redaction

This commit is contained in:
2026-10-09 12:24:01 +00:00
parent e5dddef204
commit 756149beaa
4 changed files with 145 additions and 1 deletions

View File

@@ -298,6 +298,9 @@ func assertWholeRegionFallback(t *testing.T, paired pairedDiffSnapshot, supporte
if !supported {
t.Fatal("sensitive incompatible shape was not handled")
}
if !paired.hiddenChanged {
t.Fatal("fallback for a changed reported region did not mark hidden change")
}
if (left == nil) != (paired.left == nil) || (right == nil) != (paired.right == nil) {
t.Fatalf("fallback changed root presence: %#v", paired)
}