mirror of https://github.com/docker/docs.git
Merge pull request #1620 from skatsuta/fix-hostname-test
libmachine: fix a test to check a host name is the same as expected
This commit is contained in:
commit
a51e4aaf5d
|
@ -228,7 +228,7 @@ func TestStoreGetSetActive(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if host.Name != host.Name {
|
||||
t.Fatalf("Active host is not 'test', got %s", host.Name)
|
||||
if host.Name != hostTestName {
|
||||
t.Fatalf("Active host is not '%s', got %s", hostTestName, host.Name)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue