From 4cfe2fe37f3b048bc7fad2e197dd0d49ea4307ce Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Fri, 13 Mar 2026 11:19:49 +0300 Subject: Fix: linter complaints --- rag/rag_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rag/rag_test.go') diff --git a/rag/rag_test.go b/rag/rag_test.go index 4944007..a2204ee 100644 --- a/rag/rag_test.go +++ b/rag/rag_test.go @@ -30,7 +30,6 @@ func TestDetectPhrases(t *testing.T) { expect: []string{}, }, } - for _, tt := range tests { got := detectPhrases(tt.query) if len(got) != len(tt.expect) { @@ -73,7 +72,6 @@ func TestCountPhraseMatches(t *testing.T) { expect: 2, // "she bears" and "bald prophet" }, } - for _, tt := range tests { got := countPhraseMatches(tt.text, tt.query) if got != tt.expect { @@ -119,7 +117,6 @@ func TestAreSlugsAdjacent(t *testing.T) { expect: true, // sequential batches with same chunk index are adjacent }, } - for _, tt := range tests { got := areSlugsAdjacent(tt.slug1, tt.slug2) if got != tt.expect { @@ -141,7 +138,6 @@ func TestParseSlugIndices(t *testing.T) { {"file_abc_def", 0, 0, false}, {"file_123_456_extra", 456, 0, false}, // regex matches last two numbers } - for _, tt := range tests { batch, chunk, ok := parseSlugIndices(tt.slug) if ok != tt.wantOk { -- cgit v1.2.3