1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00
Files
kararas_iris/_examples/routing/remove-handler/main_test.go

15 lines
250 B
Go

package main
import (
"testing"
"github.com/kataras/iris/v12/httptest"
)
func TestSimpleRouteRemoveHandler(t *testing.T) {
app := newApp()
e := httptest.New(t, app)
e.GET("/api/users").Expect().Status(httptest.StatusOK).Body().Equal("OK")
}