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

Function TestParsePlainString

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

Source from the content-addressed store, hash-verified

36}
37
38func TestParsePlainString(t *testing.T) {
39 testCases := []validationTestCase{
40 {"", true, "", ""},
41 {"Hello world", true, "Hello world", ""},
42 {"👋 howdy", false, "👋 howdy", "cannot contain emoji characters"},
43 }
44 runValidationTests(t, testCases, ParsePlainString, "ParsePlainString")
45}
46
47func TestParseAccountUrl(t *testing.T) {
48 testCases := []validationTestCase{

Callers

nothing calls this directly

Calls 1

runValidationTestsFunction · 0.85

Tested by

no test coverage detected