mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-24 13:48:14 -05:00
14 lines
224 B
Go
14 lines
224 B
Go
|
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())
|
||
|
})
|
||
|
}
|