MCPcopy Create free account
hub / github.com/1Password/for-open-source / TestIsPresent

Function TestIsPresent

script/validator_test.go:116–122  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

114}
115
116func TestIsPresent(t *testing.T) {
117 testCases := []validationTestCase{
118 {"", false, "", "is empty"},
119 {"foo", true, "foo", ""},
120 }
121 runValidationTests(t, testCases, IsPresent, "IsPresent")
122}
123
124func TestIsEmail(t *testing.T) {
125 testCases := []validationTestCase{

Callers

nothing calls this directly

Calls 1

runValidationTestsFunction · 0.85

Tested by

no test coverage detected