diff --git a/modules/mesh-delivery-indexer/internal/index/modules_test.go b/modules/mesh-delivery-indexer/internal/index/modules_test.go index fc5afbd7..43521238 100644 --- a/modules/mesh-delivery-indexer/internal/index/modules_test.go +++ b/modules/mesh-delivery-indexer/internal/index/modules_test.go @@ -513,9 +513,6 @@ func TestAModuleMovesBetweenRepositoriesOnlyWhenItsTrunkDropsIt(t *testing.T) { if ok && m.Path != "modules/a" { t.Errorf("modules.a at %q, want modules/a", m.Path) } - if ok && (m.Src != 0 || m.FpSrc != 0) { // design 47 H §764 (H-A-48): no source stamp, the take-in's commit names it - t.Errorf("modules.a stamped src %d, fp-src %d, want none", m.Src, m.FpSrc) - } if ok && m.Repository == to && tc.heads && m.Commit != toHead { t.Errorf("modules.a at %s, want the other trunk's head %s", m.Commit, toHead) } diff --git a/modules/mesh-delivery-indexer/internal/index/toolchains_test.go b/modules/mesh-delivery-indexer/internal/index/toolchains_test.go index 6db6ed10..6357bc82 100644 --- a/modules/mesh-delivery-indexer/internal/index/toolchains_test.go +++ b/modules/mesh-delivery-indexer/internal/index/toolchains_test.go @@ -172,11 +172,6 @@ func TestAgreedToolchainChangesAGoModulesReasonWithNoMerge(t *testing.T) { // 14 if m.None2 != "" || m.Fp2 == "" { t.Errorf("none2 = %q fp2 = %q, want a fingerprint: no builder input is waited for (ADR 0530 §1)", m.None2, m.Fp2) } - // ADR 0601 §1 (review round 2): a fingerprint moved with no merge has no release that carries it: fp-src 0, not known, - // though the source revision is still the release's at the module's own Src. - if m.FpSrc != 0 { - t.Errorf("a fingerprint moved by a recompute: fp-src %d, want 0", m.FpSrc) - } } // Design 47 *A module's registration* ("No part fixes a name") and *What ADR 0656 leaves to this design* (the indexer reads