MCPcopy Index your code
hub / github.com/expr-lang/expr / rep

Function rep

internal/difflib/difflib_test.go:210–212  ·  view source on GitHub ↗
(s string, count int)

Source from the content-addressed store, hash-verified

208}
209
210func rep(s string, count int) string {
211 return strings.Repeat(s, count)
212}
213
214func TestWithAsciiOneInsert(t *testing.T) {
215 sm := NewMatcher(splitChars(rep("b", 100)),

Callers 3

TestWithAsciiOneInsertFunction · 0.85
TestWithAsciiOnDeleteFunction · 0.85
TestWithAsciiBJunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected