16 lines
334 B
Go
16 lines
334 B
Go
package channels
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/sipeed/picoclaw/pkg/commands"
|
|
)
|
|
|
|
type mockRegistrar struct{}
|
|
|
|
func (mockRegistrar) RegisterCommands(context.Context, []commands.Definition) error { return nil }
|
|
|
|
func TestCommandRegistrarCapable_Compiles(t *testing.T) {
|
|
var _ CommandRegistrarCapable = mockRegistrar{}
|
|
}
|