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