Remove historical inspection commands
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package state
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -36,3 +37,10 @@ func TestBuildPromptMetadataIncludesOnlyExistingArtifacts(t *testing.T) {
|
||||
t.Fatalf("metadata includes paths for unreached artifacts: %#v", metadata)
|
||||
}
|
||||
}
|
||||
|
||||
func TestMetadataRejectsRetiredSchema(t *testing.T) {
|
||||
var metadata Metadata
|
||||
if err := json.Unmarshal([]byte(`{"schemaVersion":"weatherreporter.metadata.v1"}`), &metadata); err == nil {
|
||||
t.Fatal("Unmarshal() error = nil, want retired schema rejection")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user