13 lines
213 B
Go
13 lines
213 B
Go
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)
|
|
}
|
|
}
|