fix: replace Japanese string in test to satisfy gosmopolitan linter
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7e479032db
commit
e599d168a1
1 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ func TestCache_PutEntryAndGetEntry(t *testing.T) {
|
||||||
hash := HashData([]byte("pdf-content"))
|
hash := HashData([]byte("pdf-content"))
|
||||||
|
|
||||||
entry := Entry{
|
entry := Entry{
|
||||||
Result: "契約書 — 第1条 本契約は甲乙間の...",
|
Result: "Contract - Article 1: This agreement between...",
|
||||||
FilePath: "/workspace/.mediacache/abc123.md",
|
FilePath: "/workspace/.mediacache/abc123.md",
|
||||||
Pages: 8,
|
Pages: 8,
|
||||||
}
|
}
|
||||||
|
|
@ -147,7 +147,7 @@ func TestCache_PutEntryAndGetEntry(t *testing.T) {
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Fatal("expected hit")
|
t.Fatal("expected hit")
|
||||||
}
|
}
|
||||||
if got.Result != entry.Result {
|
if got.Result != "Contract - Article 1: This agreement between..." {
|
||||||
t.Errorf("Result = %q", got.Result)
|
t.Errorf("Result = %q", got.Result)
|
||||||
}
|
}
|
||||||
if got.FilePath != entry.FilePath {
|
if got.FilePath != entry.FilePath {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue