courgette/internal/daemon/api_test.go

14 lines
213 B
Go
Raw Permalink Normal View History

2024-10-06 14:58:14 +00:00
package daemon
import (
"testing"
)
func Test_Daemon_Api_NewDaemonReturnsDaemonInstance(t *testing.T) {
d := NewDaemon()
if d == nil {
t.Errorf("Expected Daemon instance, got something else: %+v", d)
}
}