返回 DeepSeek-Reasonix
schema_one_test.go
根目录 / internal / control / schema_one_test.go
1 package control
2
3 import (
4 "testing"
5
6 "reasonix/internal/agent"
7 )
8
9 // schemaOneTempDir pins a test to the schema-1 session writer: it exercises
10 // recovery-copy mechanics that only that path has.
11 func schemaOneTempDir(t *testing.T) string {
12 t.Helper()
13 t.Setenv(agent.SessionLogSchemaEnv, "v1")
14 return t.TempDir()
15 }
16
16 lines GO