diff options
Diffstat (limited to 'view/index_test.go')
-rw-r--r-- | view/index_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/index_test.go b/view/index_test.go index 3ab35d5..68167f6 100644 --- a/view/index_test.go +++ b/view/index_test.go @@ -14,7 +14,7 @@ func TestIndexRead(t *testing.T) { rec := httptest.NewRecorder() - handler := http.HandlerFunc(IndexRead) + handler := IndexRead() handler.ServeHTTP(rec, req) if rec.Code != http.StatusSeeOther { |