From e599d168a1db69b488ddb929e0296aeb1f9b1ab9 Mon Sep 17 00:00:00 2001 From: dj-oyu <68707227+dj-oyu@users.noreply.github.com> Date: Thu, 19 Mar 2026 22:12:19 +0900 Subject: [PATCH] fix: replace Japanese string in test to satisfy gosmopolitan linter Co-Authored-By: Claude Opus 4.6 (1M context) --- pkg/mediacache/cache_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/mediacache/cache_test.go b/pkg/mediacache/cache_test.go index 9bdd835ac..51f8b6d78 100644 --- a/pkg/mediacache/cache_test.go +++ b/pkg/mediacache/cache_test.go @@ -135,7 +135,7 @@ func TestCache_PutEntryAndGetEntry(t *testing.T) { hash := HashData([]byte("pdf-content")) entry := Entry{ - Result: "契約書 — 第1条 本契約は甲乙間の...", + Result: "Contract - Article 1: This agreement between...", FilePath: "/workspace/.mediacache/abc123.md", Pages: 8, } @@ -147,7 +147,7 @@ func TestCache_PutEntryAndGetEntry(t *testing.T) { if !ok { t.Fatal("expected hit") } - if got.Result != entry.Result { + if got.Result != "Contract - Article 1: This agreement between..." { t.Errorf("Result = %q", got.Result) } if got.FilePath != entry.FilePath {