From 3f1680a1d1adf15ea3b72b04252150df00f6c6c4 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Mon, 18 May 2020 19:13:46 +0300 Subject: [PATCH] minor: #1516 Former-commit-id: 7b7d1a8becb5dc8e5a0dc54bb76d8ec723555e01 --- _examples/http_request/upload-files/main_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_examples/http_request/upload-files/main_test.go b/_examples/http_request/upload-files/main_test.go index 9c5c5a07..91eb8742 100644 --- a/_examples/http_request/upload-files/main_test.go +++ b/_examples/http_request/upload-files/main_test.go @@ -1,7 +1,6 @@ package main import ( - "net/http" "os" "testing" @@ -20,7 +19,7 @@ func TestUploadFiles(t *testing.T) { defer fh.Close() e.POST("/upload").WithMultipart().WithFile("files", "main.go", fh). - Expect().Status(http.StatusOK) + Expect().Status(httptest.StatusOK) f, err := os.Open("uploads/main.go") if err != nil {