mirror of https://github.com/docker/docs.git
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:
parent
7614212d4f
commit
c8987830b9
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue