Skip to content

Commit 93fa23b

Browse files
committed
update TestProxy
1 parent b6ebc39 commit 93fa23b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/host/proxy_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ func TestProxy(t *testing.T) {
6464

6565
e := httptest.NewInsecure(t, httptest.URL("http://"+listener.Addr().String()))
6666
e.GET("/").Expect().Status(iris.StatusOK).Body().Equal(expectedIndex)
67-
e.GET("/about").Expect().Status(iris.StatusOK).Body().Equal(expectedAbout)
68-
e.GET("/notfound").Expect().Status(iris.StatusNotFound).Body().Equal(unexpectedRoute)
67+
e.GET("/about").Expect().Status(iris.StatusOK).Body().Equal(expectedIndex)
68+
e.GET("/notfound").Expect().Status(iris.StatusOK).Body().Equal(expectedIndex)
6969
}

0 commit comments

Comments
 (0)