MCPcopy Create free account
hub / github.com/exercism/cli / TestRedact

Function TestRedact

debug/debug_test.go:103–108  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

101}
102
103func TestRedact(t *testing.T) {
104 fakeToken := "1a11111aaaa111aa1a11111a11111aa1"
105 expected := "1a11*************************aa1"
106
107 assert.Equal(t, expected, Redact(fakeToken))
108}

Callers

nothing calls this directly

Calls 1

RedactFunction · 0.85

Tested by

no test coverage detected