MCPcopy Create free account
hub / github.com/codnect/procyon / TestEnvPropertySource_Origin

Function TestEnvPropertySource_Origin

runtime/environment_test.go:36–46  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

34}
35
36func TestEnvPropertySource_Origin(t *testing.T) {
37 // given
38 envPropSource := NewEnvPropertySource()
39
40 // when
41 origin := envPropSource.Origin()
42
43 // then
44 assert.NotNil(t, origin)
45 assert.Equal(t, "os.Environ()", origin)
46}
47
48func TestEnvPropertySource_Value(t *testing.T) {
49 testCases := []struct {

Callers

nothing calls this directly

Calls 2

OriginMethod · 0.95
NewEnvPropertySourceFunction · 0.85

Tested by

no test coverage detected