MCPcopy Create free account
hub / github.com/DoNewsCode/core / TestEnv_String

Function TestEnv_String

config/env_test.go:22–30  ·  view source on GitHub ↗
(t *gotesting.T)

Source from the content-addressed store, hash-verified

20}
21
22func TestEnv_String(t *gotesting.T) {
23 t.Parallel()
24 for _, c := range cases {
25 t.Run(c.name, func(t *gotesting.T) {
26 env := NewEnv(c.env)
27 assert.Equal(t, c.want, env)
28 })
29 }
30}
31
32func TestNewEnvFromConf(t *gotesting.T) {
33 t.Parallel()

Callers

nothing calls this directly

Calls 2

NewEnvFunction · 0.85
RunMethod · 0.45

Tested by

no test coverage detected