Skip to content

Commit a6cbff7

Browse files
committed
fix(enricher_test): remove unused rel assignment (staticcheck SA4006)
1 parent 3170fe3 commit a6cbff7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

go/internal/intelligence/extractor/enricher_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ func TestEnricher_BoundedConcurrency(t *testing.T) {
221221
dir := t.TempDir()
222222
nodes := make([]*model.CodeNode, 0, nFiles)
223223
for i := 0; i < nFiles; i++ {
224-
rel := filepath.Join("src", filepath.Base(t.TempDir())+".java")
225-
// One file per node; deterministic distinct paths.
226-
rel = filepath.Join("src", "f", "F"+itoa(i)+".java")
224+
// Deterministic distinct file paths so the orchestrator schedules
225+
// one task per file.
226+
rel := filepath.Join("src", "f", "F"+itoa(i)+".java")
227227
writeFile(t, filepath.Join(dir, rel), "class F"+itoa(i)+" {}")
228228
n := model.NewCodeNode("n:"+itoa(i), model.NodeClass, "F"+itoa(i))
229229
n.FilePath = rel

0 commit comments

Comments
 (0)