fix: correct settings.json filename and bump version to v5.2.8

- Fix incorrect filename reference from setting.json to settings.json in backend.go
- Update corresponding test fixtures to use correct filename
- Bump version from 5.2.7 to 5.2.8

Generated with SWE-Agent.ai

Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
This commit is contained in:
cexll
2025-12-22 10:32:44 +08:00
parent 156a072a0b
commit 3fd3c67749
4 changed files with 9 additions and 9 deletions

View File

@@ -3017,7 +3017,7 @@ func TestVersionFlag(t *testing.T) {
t.Errorf("exit = %d, want 0", code)
}
})
want := "codeagent-wrapper version 5.2.7\n"
want := "codeagent-wrapper version 5.2.8\n"
if output != want {
t.Fatalf("output = %q, want %q", output, want)
}
@@ -3031,7 +3031,7 @@ func TestVersionShortFlag(t *testing.T) {
t.Errorf("exit = %d, want 0", code)
}
})
want := "codeagent-wrapper version 5.2.7\n"
want := "codeagent-wrapper version 5.2.8\n"
if output != want {
t.Fatalf("output = %q, want %q", output, want)
}
@@ -3045,7 +3045,7 @@ func TestVersionLegacyAlias(t *testing.T) {
t.Errorf("exit = %d, want 0", code)
}
})
want := "codex-wrapper version 5.2.7\n"
want := "codex-wrapper version 5.2.8\n"
if output != want {
t.Fatalf("output = %q, want %q", output, want)
}