fix(lint): fix remaining errcheck in brain handlers_test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ func TestHandle_BrainWrite_CallsIngestServer(t *testing.T) {
|
|||||||
require.NoError(t, json.NewDecoder(r.Body).Decode(&body))
|
require.NoError(t, json.NewDecoder(r.Body).Decode(&body))
|
||||||
assert.Equal(t, "concept", body["type"])
|
assert.Equal(t, "concept", body["type"])
|
||||||
assert.Equal(t, "# Test\n\nSome learning.", body["content"])
|
assert.Equal(t, "# Test\n\nSome learning.", body["content"])
|
||||||
json.NewEncoder(w).Encode(map[string]string{"path": "raw/test.md"})
|
_ = json.NewEncoder(w).Encode(map[string]string{"path": "raw/test.md"})
|
||||||
}))
|
}))
|
||||||
defer srv.Close()
|
defer srv.Close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user