Migrate item occurrences to native correction while preserving holder semantics
This commit is contained in:
@@ -36,8 +36,8 @@ func testSourceRefs() []source.SourceRef {
|
||||
|
||||
func TestModuleSpecDeclaresRequiredRegistry(t *testing.T) {
|
||||
spec := ModuleSpec()
|
||||
if spec.CorrectionProtocol != contracts.CorrectionProtocolSingleResponseV1 {
|
||||
t.Fatalf("correction protocol = %q, want %q", spec.CorrectionProtocol, contracts.CorrectionProtocolSingleResponseV1)
|
||||
if !reflect.DeepEqual(spec.Prompts, []string{PromptID, CorrectionPromptID}) {
|
||||
t.Fatalf("prompt dependencies = %#v", spec.Prompts)
|
||||
}
|
||||
var slot contracts.ReferenceSlot
|
||||
for _, candidate := range spec.ReferenceSlots {
|
||||
|
||||
Reference in New Issue
Block a user