MCPcopy
hub / github.com/jesseduffield/lazygit / Errorf

Method Errorf

pkg/fakes/log.go:32–35  ·  view source on GitHub ↗
(format string, args ...any)

Source from the content-addressed store, hash-verified

30}
31
32func (self *FakeFieldLogger) Errorf(format string, args ...any) {
33 msg := fmt.Sprintf(format, args...)
34 self.loggedErrors = append(self.loggedErrors, msg)
35}
36
37func (self *FakeFieldLogger) AssertErrors(t *testing.T, expectedErrors []string) {
38 t.Helper()

Callers 15

TestOnceWriterFunction · 0.80
TestFormatSecondsAgoFunction · 0.80
TestModuloWithWrapFunction · 0.80
TestThreadSafeMapFunction · 0.80
deleteTodosFunction · 0.80
moveTodoUpFunction · 0.80
moveFixupCommitDownFunction · 0.80
dropMergeCommitFunction · 0.80
TestFindNamedMatchesFunction · 0.80
TestLimitFunction · 0.80
TestLimitStrFunction · 0.80
TestDecoloriseFunction · 0.80

Calls 1

SprintfMethod · 0.65

Tested by 15

TestOnceWriterFunction · 0.64
TestFormatSecondsAgoFunction · 0.64
TestModuloWithWrapFunction · 0.64
TestThreadSafeMapFunction · 0.64
TestFindNamedMatchesFunction · 0.64
TestLimitFunction · 0.64
TestLimitStrFunction · 0.64
TestDecoloriseFunction · 0.64
TestTransformNodeFunction · 0.64
TestGetTextStyleFunction · 0.64
TestGetRepoPathsFunction · 0.64
TestCmdObjToStringFunction · 0.64