fix misleading messages on failing tests

This commit is contained in:
Michael Engelhardt 2020-11-20 06:59:43 +01:00
parent 3985c6c483
commit 4dd57b45e9

View File

@ -262,11 +262,11 @@ services:
}
if config.Web.Address != DefaultAddress {
t.Errorf("Bind address should have been %s, because it is specified in config", DefaultAddress)
t.Errorf("Bind address should have been %s, because it is the default value", DefaultAddress)
}
if config.Web.Port != DefaultPort {
t.Errorf("Port should have been %d, because it is specified in config", DefaultPort)
t.Errorf("Port should have been %d, because it is the default value", DefaultPort)
}
}