mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-01 13:33:48 +08:00
Refactor: reformat all code for lefthook using ruff and gofmt (#16585)
This commit is contained in:
@@ -182,9 +182,9 @@ func TestChunkHandlerListChunksMapsAvailableFalse(t *testing.T) {
|
||||
t.Fatalf("available_int = %v, want 0", req.AvailableInt)
|
||||
}
|
||||
return &service.ListChunksResponse{
|
||||
Total: 0,
|
||||
Total: 0,
|
||||
Chunks: []map[string]interface{}{},
|
||||
Doc: map[string]interface{}{"id": "doc-1"},
|
||||
Doc: map[string]interface{}{"id": "doc-1"},
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user