fix(daemon): update execenv tests to match current renderIssueContext output

CLI hints like "multica issue get" were moved to CLAUDE.md and are no
longer rendered into issue_context.md. Remove stale assertions.
This commit is contained in:
Jiayuan 2026-03-31 15:15:06 +08:00
parent 8395479653
commit 1054e218ed

View file

@ -103,7 +103,7 @@ func TestPrepareDirectoryMode(t *testing.T) {
if err != nil {
t.Fatalf("failed to read issue_context.md: %v", err)
}
for _, want := range []string{"a1b2c3d4-e5f6-7890-abcd-ef1234567890", "multica issue get", "Code Review"} {
for _, want := range []string{"a1b2c3d4-e5f6-7890-abcd-ef1234567890", "Code Review"} {
if !strings.Contains(string(content), want) {
t.Fatalf("issue_context.md missing %q", want)
}
@ -208,7 +208,6 @@ func TestWriteContextFiles(t *testing.T) {
s := string(content)
for _, want := range []string{
"test-issue-id-1234",
"multica issue get",
"## Agent Skills",
"Go Conventions",
} {