mig/service/name_test.go

16 строки
280 B
Go
Исходник Обычный вид История

package service /* import "mig.ninja/mig/service" */
import (
"testing"
)
func TestPlatformName(t *testing.T) {
s, err := NewServiceConfig(&Config{
Name: "Test",
})
if err != nil {
t.Errorf("Failed to create service: %v", err)
}
t.Logf("Platform is %s", s.String())
}