зеркало из https://github.com/mozilla/mig.git
16 строки
280 B
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())
|
||
|
}
|