LAWS.fin_cleanup_tests: law of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/LAWS.bend as LAWS Lines 204-210 of bend-kube-runtime@0.2.0.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/LAWS.bend&start_line=204&end_line=210 import Base import bend-kube-runtime@0.2.0.0/src/finalizer.bend as F # A deleted object that still carries it is cleaned up, and the finalizer # is removed only through a patch that tests it is still ours, at its index. law fin_cleanup_tests: for fs: List<&2, String> for name: String for i: U32 {F.Fin.state.go(fs, name, Some{i}, True{}) == F.FCleanup{F.Fin.remove_patch(i, name)} : F.FState} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/finalizer.bend&name=FState https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/finalizer.bend&name=Fin.remove_patch https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/finalizer.bend&name=Fin.state.go