MCPcopy Create free account
hub / github.com/github/gh-aw / assertSanitizeResultWithContext

Function assertSanitizeResultWithContext

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

Source from the content-addressed store, hash-verified

17}
18
19func assertSanitizeResultWithContext(t *testing.T, functionName, context, got, want string) {
20 t.Helper()
21 require.Equal(t, want, got, "%s(%s) should return expected output", functionName, context)
22}
23
24func TestSanitizeErrorMessage(t *testing.T) {
25 tests := []struct {

Callers 3

TestSanitizeNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected