diff --git a/libmachine/filestore_test.go b/libmachine/filestore_test.go index f6f09a9a82..407c7583da 100644 --- a/libmachine/filestore_test.go +++ b/libmachine/filestore_test.go @@ -228,7 +228,7 @@ func TestStoreGetSetActive(t *testing.T) { if err != nil { t.Fatal(err) } - if host.Name != host.Name { + if host.Name != hostTestName { t.Fatalf("Active host is not 'test', got %s", host.Name) } }