nginx-proxy-manager-zh/backend/internal/api/context/context_test.go

14 lines
224 B
Go
Raw Normal View History

2023-07-24 21:59:02 -04:00
package context
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGetString(t *testing.T) {
t.Run("basic test", func(t *testing.T) {
assert.Equal(t, "context value: Body", BodyCtxKey.String())
})
}