MCPcopy Create free account
hub / github.com/cogentcore/core / rep

Function rep

texteditor/difflib/difflib_test.go:220–222  ·  view source on GitHub ↗
(s string, count int)

Source from the content-addressed store, hash-verified

218}
219
220func rep(s string, count int) string {
221 return strings.Repeat(s, count)
222}
223
224func TestWithAsciiOneInsert(t *testing.T) {
225 sm := NewMatcher(splitChars(rep("b", 100)),

Callers 3

TestWithAsciiOneInsertFunction · 0.70
TestWithAsciiOnDeleteFunction · 0.70
TestWithAsciiBJunkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected