diff --git a/modules/mesh-delivery-watchman/manifest_test.go b/modules/mesh-delivery-watchman/manifest_test.go index 4926b296..e8d37103 100644 --- a/modules/mesh-delivery-watchman/manifest_test.go +++ b/modules/mesh-delivery-watchman/manifest_test.go @@ -7,6 +7,7 @@ import ( "os" "path/filepath" "reflect" + "regexp" "slices" "strings" "testing" @@ -98,6 +99,10 @@ func TestManifestStateAndReads(t *testing.T) { // 1135/AC6 "mesh-delivery-builder.builds", "mesh-host.health", "mesh-provisioner.provisions", "node-engine.have"}) { t.Errorf("reads = %v", reads) } + // Design 47 G §368: the version is MAJOR.MINOR and nothing else. + if !regexp.MustCompile(`^[0-9]+\.[0-9]+$`).MatchString(m.Version) { + t.Errorf("version = %q, want MAJOR.MINOR", m.Version) + } // DLV-M5 (ADR 0615 §1): the assigner's wants and the indexer's modules are their owners' states, asked by their read // tools and followed by their views families, never read. for _, r := range m.Reads { diff --git a/modules/mesh-delivery-watchman/module.json b/modules/mesh-delivery-watchman/module.json index 08b23559..bd081f2f 100644 --- a/modules/mesh-delivery-watchman/module.json +++ b/modules/mesh-delivery-watchman/module.json @@ -1,6 +1,6 @@ { "module": "mesh-delivery-watchman", - "version": "1", + "version": "0.1", "slug": "watchman", "claims": [ {