blob: 680419817f5f1206539ee52558e5c9b93efe500c [file] [log] [blame]
package profiles_test
import (
"os"
"testing"
"veyron.io/veyron/veyron/profiles"
)
func TestGeneric(t *testing.T) {
p := profiles.New()
if got, want := p.Name(), "generic"; got != want {
t.Errorf("got %q, want %q", got, want)
}
hostname, _ := os.Hostname()
if got, want := p.Platform().Node, hostname; got != want {
t.Errorf("got %q, want %q", got, want)
}
}