MCPcopy Index your code
hub / github.com/github/gh-aw / assertSanitizeResult

Function assertSanitizeResult

pkg/stringutil/sanitize_test.go:14–17  ·  view source on GitHub ↗
(t *testing.T, functionName, input, got, want string)

Source from the content-addressed store, hash-verified

12)
13
14func assertSanitizeResult(t *testing.T, functionName, input, got, want string) {
15 t.Helper()
16 require.Equal(t, want, got, "%s(%q) should return expected output", functionName, input)
17}
18
19func assertSanitizeResultWithContext(t *testing.T, functionName, context, got, want string) {
20 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected