libmachine: fix a test to check the host name is right

Signed-off-by: Soshi Katsuta <soshi.katsuta@gmail.com>
This commit is contained in:
Soshi Katsuta 2015-07-31 16:34:08 +09:00
parent 7614212d4f
commit c8987830b9
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ func TestStoreGetSetActive(t *testing.T) {
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
if host.Name != host.Name { if host.Name != hostTestName {
t.Fatalf("Active host is not 'test', got %s", host.Name) t.Fatalf("Active host is not 'test', got %s", host.Name)
} }
} }