MCPcopy Create free account
hub / github.com/Enapiuz/multiwatch / TestNewPrinter

Function TestNewPrinter

printer/printer_test.go:30–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28}
29
30func TestNewPrinter(t *testing.T) {
31 samplePrinter := NewPrinter()
32 assert.Len(t, samplePrinter.watchers, 0)
33}
34
35func TestPrinter_RegisterWatchers(t *testing.T) {
36 testPrinter := NewPrinter()

Callers

nothing calls this directly

Calls 1

NewPrinterFunction · 0.85

Tested by

no test coverage detected