diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-14 12:38:46 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-14 12:38:46 +0300 |
| commit | 77c365959d61142a96f26d820a9ad2665101c34f (patch) | |
| tree | 1ef28b73026ecf73858a049f6487f67f72f394e4 /rag/rag_test.go | |
| parent | f4fcb8557005a5358b87109d945acd3d5a6a0517 (diff) | |
| parent | 4cfe2fe37f3b048bc7fad2e197dd0d49ea4307ce (diff) | |
Merge branch 'master' into feat/agent-flow
Diffstat (limited to 'rag/rag_test.go')
| -rw-r--r-- | rag/rag_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
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 { |
