Files
nofx/agent/user_facing_prompt_test.go
lky-spec 9ee931ee30 v2
2026-04-25 20:24:46 +08:00

13 lines
471 B
Go

package agent
import "testing"
func TestCleanUserFacingReplyInstruction(t *testing.T) {
if cleanUserFacingReplyInstruction == "" {
t.Fatal("expected clean user-facing reply instruction to be defined")
}
if got, want := cleanUserFacingReplyInstruction, "Your final reply must be clean and easy to understand, with no fluff, no internal jargon, and no unnecessary explanation."; got != want {
t.Fatalf("unexpected instruction\nwant: %q\ngot: %q", want, got)
}
}