MCPcopy Create free account
hub / github.com/cli/cli / TestUntrusted_Empty

Function TestUntrusted_Empty

pkg/iostreams/untrusted_test.go:76–79  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

74}
75
76func TestUntrusted_Empty(t *testing.T) {
77 assert.True(t, NewUntrusted("").Empty())
78 assert.False(t, NewUntrusted("x").Empty())
79}

Callers

nothing calls this directly

Calls 2

NewUntrustedFunction · 0.85
EmptyMethod · 0.80

Tested by

no test coverage detected